Constructors
constructor
- new WebGLUniforms(gl, program): WebGLUniforms
Methods
setOptional
- setOptional(gl, object, name): void
Parameters
- gl: WebGLRenderingContext
- object: any
- name: string
Returns void
setValue
- setValue(gl, name, value, textures): void
Parameters
- gl: WebGLRenderingContext
- name: string
- value: any
- textures: WebGLTextures
Returns void
Static
seqWithValue
- seqWithValue(seq, values): any[]
Returns any[]
Static
upload
- upload(gl, seq, values, textures): void
Parameters
- gl: WebGLRenderingContext
- seq: any
- values: any[]
- textures: WebGLTextures
Returns void