Function: typeToChannelSuffix()
typeToChannelSuffix(
type):"x"|"xy"|"xyz"|"xyzw"
Defined in: lib/glsl-utils/shader-utils.ts:63
convert glsl type to suffix
Parameters
type
string
Returns
"x" | "xy" | "xyz" | "xyzw"
typeToChannelSuffix(
type):"x"|"xy"|"xyz"|"xyzw"
Defined in: lib/glsl-utils/shader-utils.ts:63
convert glsl type to suffix
string
"x" | "xy" | "xyz" | "xyzw"