EditCamera::SetUniform
This method sets a value in a post-processing shader.
Syntax
- SetUniform(int index, String name, float value)
- SetUniform(int index, String name, int value)
- SetUniform(int index, String name, Vec2 value)
- SetUniform(int index, String name, Vec3 value)
- SetUniform(int index, String name, Vec4 value)
| Parameter |
Description |
| index |
index of the post-processing effect, returned by Camera:AddPostEffect |
| name |
name of the shader uniform |
| value |
value to set |