Interface: ShaderProgramInfo
utils/gl.ShaderProgramInfo
Stores information about a {@link WebGLProgram}, such as it's attribute and uniform locations.
Properties
attribLocations
โข attribLocations: Object
Index signature
โช [index: string
]: number
Defined in
src/utils/gl.ts:10
program
โข program: WebGLProgram
Defined in
src/utils/gl.ts:9
uniformLocations
โข uniformLocations: Object
Index signature
โช [index: string
]: WebGLUniformLocation
Type declaration
Name | Type |
---|---|
opacity? | WebGLUniformLocation |
texture? | WebGLUniformLocation |
zIndex | WebGLUniformLocation |
Defined in
src/utils/gl.ts:13