Skip to main content

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

NameType
opacity?WebGLUniformLocation
texture?WebGLUniformLocation
zIndexWebGLUniformLocation

Defined in

src/utils/gl.ts:13