C# Class NewTOAPIA.GL.GLSLUniformVariable

Afficher le fichier Open project: Wiladams/NewTOAPIA

Méthodes publiques

Méthode 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

Méthode Description
ErrorCheckType ( Type aType, int typeCount ) : void
InitializeSpace ( ) : void
UpdateProgramWithCurrentValue ( ) : void

Method Details

GLSLUniformVariable() public méthode

public GLSLUniformVariable ( GLSLShaderProgram program, UniformType uType, int size, string name ) : System
program GLSLShaderProgram
uType UniformType
size int
name string
Résultat System

GetComponentCountForType() public static méthode

public static GetComponentCountForType ( UniformType aType ) : int
aType UniformType
Résultat int

Set() public méthode

public Set ( float v0 ) : void
v0 float
Résultat void

Set() public méthode

public Set ( float v0, float v1 ) : void
v0 float
v1 float
Résultat void

Set() public méthode

public Set ( float v0, float v1, float v2 ) : void
v0 float
v1 float
v2 float
Résultat void

Set() public méthode

public Set ( float v0, float v1, float v2, float v3 ) : void
v0 float
v1 float
v2 float
v3 float
Résultat void

Set() public méthode

public Set ( int v0 ) : void
v0 int
Résultat void

Set() public méthode

public Set ( int v0, int v1 ) : void
v0 int
v1 int
Résultat void

Set() public méthode

public Set ( int v0, int v1, int v2 ) : void
v0 int
v1 int
v2 int
Résultat void

SetFloatValues() public méthode

public SetFloatValues ( float values ) : void
values float
Résultat void

SetIntValues() public méthode

public SetIntValues ( int values ) : void
values int
Résultat void