C# Class CSharpGL.UniformVariable

An uniform variable in shader.
Mostra file Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
SetUniform ( ShaderProgram program ) : void

Set uniform's value to GPU.(And maybe alsoe reset Updated property.)

UniformVariable ( string varName )

An uniform variable in shader.

Protected Methods

Method Description
DoSetUniform ( ShaderProgram program ) : void

Set uniform's value to GPU.(And maybe alsoe reset Updated property.)

Method Details

DoSetUniform() protected abstract method

Set uniform's value to GPU.(And maybe alsoe reset Updated property.)
protected abstract DoSetUniform ( ShaderProgram program ) : void
program ShaderProgram
return void

SetUniform() public method

Set uniform's value to GPU.(And maybe alsoe reset Updated property.)
public SetUniform ( ShaderProgram program ) : void
program ShaderProgram
return void

UniformVariable() public method

An uniform variable in shader.
public UniformVariable ( string varName )
varName string variable name.