( functionName, encoding )
| 28560 | } |
| 28561 | |
| 28562 | function getTexelDecodingFunction( functionName, encoding ) { |
| 28563 | |
| 28564 | var components = getEncodingComponents( encoding ); |
| 28565 | return "vec4 " + functionName + "( vec4 value ) { return " + components[ 0 ] + "ToLinear" + components[ 1 ] + "; }"; |
| 28566 | |
| 28567 | } |
| 28568 | |
| 28569 | function getTexelEncodingFunction( functionName, encoding ) { |
| 28570 |
no test coverage detected