SFML.Net
ShaderSetParameter Method (String, Single, Single) |
Change a 2-components vector parameter of the shader
"name" is the name of the variable to change in the shader.
The corresponding parameter in the shader must be a 2x1 vector
(vec2 GLSL type).
Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)

public void SetParameter( string name, float x, float y )
Public Sub SetParameter ( name As String, x As Single, y As Single )
public: void SetParameter( String^ name, float x, float y )
member SetParameter : name : string * x : float32 * y : float32 -> unit
Parameters
- name
- Type: SystemString
Name of the parameter in the shader - x
- Type: SystemSingle
First component of the value to assign - y
- Type: SystemSingle
Second component of the value to assign
