Свойство | Type | Description | |
---|---|---|---|
AttributeCount | int | ||
Attributes | AttributeInfo>.Dictionary | ||
Buffers | uint>.Dictionary | ||
FShaderID | int | ||
ProgramID | int | ||
UniformCount | int | ||
Uniforms | UniformInfo>.Dictionary | ||
VShaderID | int |
Méthode | 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 |
Méthode | Description | |
---|---|---|
loadShader ( String code, ShaderType type, int &address ) : void |
public DisableVertexAttribArrays ( ) : void | ||
Résultat | void |
public LoadShaderFromFile ( String filename, ShaderType type ) : void | ||
filename | String | |
type | ShaderType | |
Résultat | void |
public LoadShaderFromString ( String code, ShaderType type ) : void | ||
code | String | |
type | ShaderType | |
Résultat | void |
public ShaderProgram ( String vshader, String fshader, bool fromFile = false ) : System | ||
vshader | String | |
fshader | String | |
fromFile | bool | |
Résultat | System |