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