Свойство | Тип | Описание | |
---|---|---|---|
AttributeCount | int | ||
Attributes | AttributeInfo>.Dictionary | ||
Buffers | uint>.Dictionary | ||
FShaderID | int | ||
ProgramID | int | ||
UniformCount | int | ||
Uniforms | UniformInfo>.Dictionary | ||
VShaderID | int |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
loadShader ( String code, ShaderType type, int &address ) : void |
public DisableVertexAttribArrays ( ) : void | ||
Результат | void |
public EnableVertexAttribArrays ( ) : void | ||
Результат | void |
public LoadShaderFromFile ( String filename, ShaderType type ) : void | ||
filename | String | |
type | ShaderType | |
Результат | void |
public LoadShaderFromString ( String code, ShaderType type ) : void | ||
code | String | |
type | ShaderType | |
Результат | void |
public ShaderProgram ( String vshader, String fshader, bool fromFile = false ) : System | ||
vshader | String | |
fshader | String | |
fromFile | bool | |
Результат | System |