Property | Type | Description | |
---|---|---|---|
Attributes | int>.Dictionary | ||
Uniforms | int>.Dictionary |
Method | Description | |
---|---|---|
Description ( ) : string | ||
Program ( string vertexShader, string fragmentShader ) : System |
Initializes a GLSL program by compiling vertex and fragment shaders from source. In debug mode, compilation erros are logged into the console.
|
Method | Description | |
---|---|---|
Init ( string vertexShader, string fragmentShader ) : void | ||
Program ( ) : System |
Method | Description | |
---|---|---|
Compile ( ) : void | ||
CompileShader ( string source, ShaderType type ) : int | ||
UpdateAttributes ( ) : void | ||
UpdateUniforms ( ) : void |
protected Init ( string vertexShader, string fragmentShader ) : void | ||
vertexShader | string | |
fragmentShader | string | |
return | void |
public Program ( string vertexShader, string fragmentShader ) : System | ||
vertexShader | string | |
fragmentShader | string | |
return | System |