Method | Description | |
---|---|---|
Dispose ( ) : void | ||
FindAttribIndex ( string name ) : int | ||
SetFloat ( string name, float value ) : void | ||
SetMatrix3 ( string name, float values ) : void | ||
SetMatrix4 ( string name, float values ) : void | ||
SetSamplerUniform ( string name, int sampler ) : void | ||
SetSamplerUniform ( string name, uint sampler ) : void | ||
SetVector3 ( string name, Vector3 value ) : void | ||
ShaderProgram ( string vertexShaderFile, string fragmentShaderFile ) : System | ||
Use ( ) : void | ||
UseDefault ( ) : void |
Method | Description | |
---|---|---|
FindUniformLocation ( string name ) : int | ||
SetMatrix ( string name, Matrix4 value ) : void |
public SetFloat ( string name, float value ) : void | ||
name | string | |
value | float | |
return | void |
public SetMatrix3 ( string name, float values ) : void | ||
name | string | |
values | float | |
return | void |
public SetMatrix4 ( string name, float values ) : void | ||
name | string | |
values | float | |
return | void |
public SetSamplerUniform ( string name, int sampler ) : void | ||
name | string | |
sampler | int | |
return | void |
public SetSamplerUniform ( string name, uint sampler ) : void | ||
name | string | |
sampler | uint | |
return | void |
public SetVector3 ( string name, Vector3 value ) : void | ||
name | string | |
value | Vector3 | |
return | void |
public ShaderProgram ( string vertexShaderFile, string fragmentShaderFile ) : System | ||
vertexShaderFile | string | |
fragmentShaderFile | string | |
return | System |