MCPcopy Create free account
hub / github.com/0hq/WebGPT / initialize

Method initialize

instructions.js:12–18  ·  view source on GitHub ↗
(device)

Source from the content-addressed store, hash-verified

10 }
11
12 initialize(device) {
13 this.device = device;
14 this.initBindGroups();
15 this.pipelineCache = new Map();
16 this.boundBufferCache = new Map();
17 this.unboundBufferCache = new Map();
18 }
19
20 initBindGroup(layout, buffers, label = "") {
21 return this.device.createBindGroup({

Callers

nothing calls this directly

Calls 1

initBindGroupsMethod · 0.95

Tested by

no test coverage detected