(format: GPUTextureFormat)
| 132 | } |
| 133 | |
| 134 | function getBytesPerElement(format: GPUTextureFormat) { |
| 135 | if (format === 'rgba8unorm') { |
| 136 | return 16; |
| 137 | } else { |
| 138 | throw new Error(`${format} is not supported!`); |
| 139 | } |
| 140 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…