Aiv Fast2D  1.0.4
Classes | Public Member Functions | List of all members
Aiv.Fast2D.Shader Class Reference
Inheritance diagram for Aiv.Fast2D.Shader:

Classes

class  CompilationException
 
class  UnsupportedVersionException
 

Public Member Functions

 Shader (string vertexModern, string fragmentModern, string vertexObsolete=null, string fragmentObsolete=null, string[] attribs=null, int[] attibsSizes=null, string[] vertexUniforms=null, string[] fragmentUniforms=null)
 
void Use ()
 
void SetUniform (string name, Matrix4 m)
 
void SetUniform (string name, int n)
 
void SetUniform (string name, float n)
 
void SetUniform (string name, Vector4 value)
 
void SetUniform (string name, Vector3 value)
 
void Dispose ()
 

Constructor & Destructor Documentation

Aiv.Fast2D.Shader.Shader ( string  vertexModern,
string  fragmentModern,
string  vertexObsolete = null,
string  fragmentObsolete = null,
string[]  attribs = null,
int[]  attibsSizes = null,
string[]  vertexUniforms = null,
string[]  fragmentUniforms = null 
)
inline

Member Function Documentation

void Aiv.Fast2D.Shader.Dispose ( )
inline
void Aiv.Fast2D.Shader.SetUniform ( string  name,
Matrix4  m 
)
inline
void Aiv.Fast2D.Shader.SetUniform ( string  name,
int  n 
)
inline
void Aiv.Fast2D.Shader.SetUniform ( string  name,
float  n 
)
inline
void Aiv.Fast2D.Shader.SetUniform ( string  name,
Vector4  value 
)
inline
void Aiv.Fast2D.Shader.SetUniform ( string  name,
Vector3  value 
)
inline
void Aiv.Fast2D.Shader.Use ( )
inline

The documentation for this class was generated from the following file: