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.
Parameters
name System.String
value System.Single
IShader.SetUniform\(string, float, float\) Method
Sets a uniform vector value in the shader.
Parameters
name System.String
IShader.SetUniform\(string, Color\) Method
Sets a uniform color value in the shader.
Parameters
name System.String
color System.Drawing.Color