(device)
| 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({ |
nothing calls this directly
no test coverage detected