Function: typeToChannelCount()
typeToChannelCount(
type):1|2|3|4
Defined in: lib/glsl-utils/shader-utils.ts:76
convert glsl type to channel count
Parameters
type
string
Returns
1 | 2 | 3 | 4
typeToChannelCount(
type):1|2|3|4
Defined in: lib/glsl-utils/shader-utils.ts:76
convert glsl type to channel count
string
1 | 2 | 3 | 4