phaser - v4.0.0-rc.4
    Preparing search index...
    type WebGLAttributeBufferLayout = {
        count: number;
        instanceDivisor?: number;
        layout: WebGLAttributeLayout;
        stride: number;
        usage: GLenum | string;
    }
    Index

    Properties

    count: number

    The maximum number of elements in the buffer.

    instanceDivisor?: number

    The instance divisor of the attribute data. This is how many vertices to draw before moving to the next one. It is only used for instanced rendering.

    The layout of the attribute data.

    stride: number

    The stride of the attribute data.

    usage: GLenum | string

    The usage pattern of the data store. gl.STATIC_DRAW, gl.DYNAMIC_DRAW or gl.STREAM_DRAW. If the type is a string, it will be converted to the appropriate GLenum, e.g. 'STATIC_DRAW' to gl.STATIC_DRAW.