phaser - v4.0.0-rc.4
    Preparing search index...

    WebGL constants and functions used to set shader uniforms.

    type ShaderSetter = {
        baseType: GLenum;
        bytes: number;
        constant: GLenum;
        isMatrix: boolean;
        set: Function;
        setV: Function;
        size: number;
    }
    Index

    Properties

    baseType: GLenum

    The GL constant describing the base data type. This is the same as constant for non-array types.

    bytes: number

    The number of bytes per element in the data type.

    constant: GLenum

    The GL constant describing the data type.

    isMatrix: boolean

    Whether the uniform is a matrix.

    set: Function

    The WebGL function to set the uniform.

    setV: Function

    The WebGL function to set the uniform with a value array (vector).

    size: number

    The number of elements in the data type.