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

    Properties

    Properties

    name?: string
    size?: number

    the size of the variable (eg 2 for vec2, 3 for vec3, 4 for vec4)

    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