(outputShape: number[])
| 27 | outTexUsage = TextureUsage.DOWNLOAD; |
| 28 | |
| 29 | constructor(outputShape: number[]) { |
| 30 | const glsl = getGlslDifferences(); |
| 31 | this.outputShape = outputShape; |
| 32 | this.userCode = ` |
| 33 | ${ENCODE_FLOAT_SNIPPET} |
| 34 | |
| 35 | void main() { |
| 36 | float x = getAAtOutCoords(); |
| 37 | ${glsl.output} = encode_float(x); |
| 38 | } |
| 39 | `; |
| 40 | } |
| 41 | } |
nothing calls this directly
no test coverage detected