Shader.SetParameter Method (String, Single)

SFML.Net

ShaderSetParameter Method (String, Single)
Change a float 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 float (float GLSL type).

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public void SetParameter(
	string name,
	float x
)
Public Sub SetParameter ( 
	name As String,
	x As Single
)
public:
void SetParameter(
	String^ name, 
	float x
)
member SetParameter : 
        name : string * 
        x : float32 -> unit 

Parameters

name
Type: SystemString
Name of the parameter in the shader
x
Type: SystemSingle
Value to assign
See Also