(ptr: GPUPointer)
| 1053 | } |
| 1054 | |
| 1055 | private gpuBufferFromPtr(ptr: GPUPointer): GPUBuffer { |
| 1056 | const buffer = this.bufferTable[ptr]; |
| 1057 | assert(buffer !== undefined); |
| 1058 | return buffer; |
| 1059 | } |
| 1060 | |
| 1061 | private attachToBufferTable(buffer: GPUBuffer): GPUPointer { |
| 1062 | if (this.bufferTableFreeId.length != 0) { |
no test coverage detected