Interface WTCGLActiveInfo

Representes an extention of the standard Web GL active info for uniforms and attributes. See MDN for more information on WebGLActiveInfo.

interface WTCGLActiveInfo {
    isStruct?: boolean;
    isStructArray?: boolean;
    name: string;
    size: number;
    structIndex?: number;
    structProperty?: string;
    type: number;
    uniformName?: string;
}

Hierarchy

  • WebGLActiveInfo
    • WTCGLActiveInfo

Properties

isStruct?: boolean

If the uniform points to a structure.

isStructArray?: boolean

If a uniform location points to a structure array.

name: string
size: number
structIndex?: number

The index within the structure.

structProperty?: string

The property within the structure to target.

type: number
uniformName?: string

The uniform name, used for associating active info with WTCGLUniform objects