IShader.SetUniform Method
Definition¶
Namespace: Brine2D.Rendering
| Overloads | |
|---|---|
| SetUniform(string, float) | Sets a uniform value in the shader. |
| SetUniform(string, float, float) | Sets a uniform vector value in the shader. |
| SetUniform(string, Color) | Sets a uniform color value in the shader. |
IShader.SetUniform(string, float) Method¶
Sets a uniform value in the shader.
void SetUniform(string name, float value);
Parameters¶
name System.String
value System.Single
IShader.SetUniform(string, float, float) Method¶
Sets a uniform vector value in the shader.
void SetUniform(string name, float x, float y);
Parameters¶
name System.String
IShader.SetUniform(string, Color) Method¶
Sets a uniform color value in the shader.
void SetUniform(string name, System.Drawing.Color color);
Parameters¶
name System.String
color System.Drawing.Color