C# Class NewTOAPIA.GL.GLSLUniformVariable

Show file Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
GLSLUniformVariable ( GLSLShaderProgram program, UniformType uType, int size, string name ) : System
GetComponentCountForType ( UniformType aType ) : int
Set ( float v0 ) : void
Set ( float v0, float v1 ) : void
Set ( float v0, float v1, float v2 ) : void
Set ( float v0, float v1, float v2, float v3 ) : void
Set ( int v0 ) : void
Set ( int v0, int v1 ) : void
Set ( int v0, int v1, int v2 ) : void
SetFloatValues ( float values ) : void
SetIntValues ( int values ) : void

Private Methods

Method Description
ErrorCheckType ( Type aType, int typeCount ) : void
InitializeSpace ( ) : void
UpdateProgramWithCurrentValue ( ) : void

Method Details

GLSLUniformVariable() public method

public GLSLUniformVariable ( GLSLShaderProgram program, UniformType uType, int size, string name ) : System
program GLSLShaderProgram
uType UniformType
size int
name string
return System

GetComponentCountForType() public static method

public static GetComponentCountForType ( UniformType aType ) : int
aType UniformType
return int

Set() public method

public Set ( float v0 ) : void
v0 float
return void

Set() public method

public Set ( float v0, float v1 ) : void
v0 float
v1 float
return void

Set() public method

public Set ( float v0, float v1, float v2 ) : void
v0 float
v1 float
v2 float
return void

Set() public method

public Set ( float v0, float v1, float v2, float v3 ) : void
v0 float
v1 float
v2 float
v3 float
return void

Set() public method

public Set ( int v0 ) : void
v0 int
return void

Set() public method

public Set ( int v0, int v1 ) : void
v0 int
v1 int
return void

Set() public method

public Set ( int v0, int v1, int v2 ) : void
v0 int
v1 int
v2 int
return void

SetFloatValues() public method

public SetFloatValues ( float values ) : void
values float
return void

SetIntValues() public method

public SetIntValues ( int values ) : void
values int
return void