pixi.js
    Preparing search index...

    Interface UniformDataAdvanced

    This is the type of the uniform structures that are used in the UniformGroup.

    interface UniformData {
        name?: string;
        size?: number;
        type: UNIFORM_TYPES;
        value: unknown;
    }
    Index
    name?: string
    size?: number

    Number of array elements

    Defaults to 1 for a single value. { type: 'vec4<f32>', size: 10 } declares array<vec4<f32>, 10>.

    type: UNIFORM_TYPES
    value: unknown

    the value of the uniform, this could be any object - a parser will figure out how to write it to the buffer