Uniform

Uniform

Class representing a Uniform for a Program class

Constructor

new Uniform()

Source:

Methods

update(…args)

update unifroms
Source:
Parameters:
Name Type Attributes Description
args Array <repeatable>

Uniform

new Uniform(gl, program, uniform)

Uniform class constructor
Source:
Parameters:
Name Type Description
gl WebGLRenderingContext
program WebGLProgram
uniform WebGLActiveInfo information of unifrom getting from getActiveUniform

Methods

update(…args)

update unifroms
Source:
Parameters:
Name Type Attributes Description
args Array <repeatable>