Property | Type | Description | |
---|---|---|---|
AttributeCount | int | ||
Attributes | AttributeInfo>.Dictionary | ||
Buffers | uint>.Dictionary | ||
FShaderID | int | ||
ProgramID | int | ||
UniformCount | int | ||
Uniforms | UniformInfo>.Dictionary | ||
VShaderID | int |
Method | Description | |
---|---|---|
DisableVertexAttribArrays ( ) : void | ||
EnableVertexAttribArrays ( ) : void | ||
GenBuffers ( ) : void | ||
GetAttribute ( string name ) : int | ||
GetBuffer ( string name ) : uint | ||
GetUniform ( string name ) : int | ||
Link ( ) : void | ||
LoadShaderFromFile ( String filename, ShaderType type ) : void | ||
LoadShaderFromString ( String code, ShaderType type ) : void | ||
ShaderProgram ( ) : System | ||
ShaderProgram ( String vshader, String fshader, bool fromFile = false ) : System |
Method | Description | |
---|---|---|
loadShader ( String code, ShaderType type, int &address ) : void |
public LoadShaderFromFile ( String filename, ShaderType type ) : void | ||
filename | String | |
type | ShaderType | |
return | void |
public LoadShaderFromString ( String code, ShaderType type ) : void | ||
code | String | |
type | ShaderType | |
return | void |
public ShaderProgram ( String vshader, String fshader, bool fromFile = false ) : System | ||
vshader | String | |
fshader | String | |
fromFile | bool | |
return | System |