new projectionUniform(name) → {vgl.projectionUniform}
- Description:
Create a new instance of class projectionUniform.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
string |
Returns:
Methods
update(renderState, program)
- Description:
Update the uniform given a render state and shader program.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
renderState |
vgl.renderState | |
program |
vgl.shaderProgram |