C# Class OpenRA.Platforms.Default.Shader

Inheritance: OpenRA.Platforms.Default.ThreadAffine, IShader
Afficher le fichier Open project: pchote/OpenRA

Méthodes publiques

Méthode Description
Render ( System.Action a ) : void
SetBool ( string name, bool value ) : void
SetMatrix ( string name, float mtx ) : void
SetTexture ( string name, ITexture t ) : void
SetVec ( string name, float x ) : void
SetVec ( string name, float x, float y ) : void
SetVec ( string name, float x, float y, float z ) : void
SetVec ( string name, float vec, int length ) : void
Shader ( string name ) : System

Méthodes protégées

Méthode Description
CompileShaderObject ( int type, string name ) : uint

Method Details

CompileShaderObject() protected méthode

protected CompileShaderObject ( int type, string name ) : uint
type int
name string
Résultat uint

Render() public méthode

public Render ( System.Action a ) : void
a System.Action
Résultat void

SetBool() public méthode

public SetBool ( string name, bool value ) : void
name string
value bool
Résultat void

SetMatrix() public méthode

public SetMatrix ( string name, float mtx ) : void
name string
mtx float
Résultat void

SetTexture() public méthode

public SetTexture ( string name, ITexture t ) : void
name string
t ITexture
Résultat void

SetVec() public méthode

public SetVec ( string name, float x ) : void
name string
x float
Résultat void

SetVec() public méthode

public SetVec ( string name, float x, float y ) : void
name string
x float
y float
Résultat void

SetVec() public méthode

public SetVec ( string name, float x, float y, float z ) : void
name string
x float
y float
z float
Résultat void

SetVec() public méthode

public SetVec ( string name, float vec, int length ) : void
name string
vec float
length int
Résultat void

Shader() public méthode

public Shader ( string name ) : System
name string
Résultat System