Sets the current duration into a 1f uniform value based on the given name.
This can be used for mapping time uniform values, such as iTime
.
name | type | arguments | description |
---|---|---|---|
name | string |
The name of the uniform to set. |
|
shader | Phaser.Renderer.WebGL.WebGLShader | <optional> |
The shader to set the value on. If not given, the |
This WebGLPipeline instance.