API

Type Alias ShaderUniformType

ShaderUniformType:
    | "f32"
    | "u32"
    | "i32"
    | "vec2<f32>"
    | "vec3<f32>"
    | "vec4<f32>"
    | "mat4x4<f32>"

WGSL scalar/vector/matrix types supported for ShaderMaterial uniforms.