(
width: number, height: number, format: GPUTextureFormat,
usage: GPUTextureUsageFlags)
| 126 | } |
| 127 | |
| 128 | function getTextureKey( |
| 129 | width: number, height: number, format: GPUTextureFormat, |
| 130 | usage: GPUTextureUsageFlags) { |
| 131 | return `${width}_${height}_${format}_${usage}`; |
| 132 | } |
| 133 | |
| 134 | function getBytesPerElement(format: GPUTextureFormat) { |
| 135 | if (format === 'rgba8unorm') { |
no outgoing calls
no test coverage detected
searching dependent graphs…