phaser - v4.0.0-rc.4
    Preparing search index...
    type WebGLAttributeLayout = {
        bytes?: number;
        columns?: number;
        name: string;
        normalized: boolean;
        offset: number;
        size: number;
        type: GLenum | string;
    }
    Index

    Properties

    bytes?: number

    The number of bytes per vertex attribute. This is the size of the type, usually 4 bytes for FLOAT or INT.

    columns?: number

    The number of columns in the attribute data. Represent matrices as column vectors and increase columns to match the matrix size.

    name: string

    The name of the attribute, as defined in the shader.

    normalized: boolean

    Whether integer data values should be normalized when being cast to a float.

    offset: number

    The byte offset from the beginning of the buffer.

    size: number

    The number of components per vertex attribute.

    type: GLenum | string

    The data type of each component in the array. This can differ from the type in the shader, so long as WebGL can convert the types. If the type is a string, it will be converted to the appropriate GLenum, e.g. 'FLOAT' to gl.FLOAT.