wtc-gl
    Preparing search index...

    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
    Index

    Properties

    isStruct?: boolean

    If the uniform points to a structure.

    isStructArray?: boolean

    If a uniform location points to a structure array.

    name: string

    The read-only WebGLActiveInfo.name property represents the name of the requested data returned by calling the getActiveAttrib() or getActiveUniform() methods.

    MDN Reference

    size: number

    The read-only WebGLActiveInfo.size property is a Number representing the size of the requested data returned by calling the getActiveAttrib() or getActiveUniform() methods.

    MDN Reference

    structIndex?: number

    The index within the structure.

    structProperty?: string

    The property within the structure to target.

    type: number

    The read-only WebGLActiveInfo.type property represents the type of the requested data returned by calling the getActiveAttrib() or getActiveUniform() methods.

    MDN Reference

    uniformName?: string

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