Skip to main content

WebGLConvertible

An interface for types that can be converted to WebGL types.

Methods

toUniform(gl: WebGL2RenderingContext, location: WebGLUniformLocation): void

Sets the value as a WebGL uniform.