Method | Description | |
---|---|---|
Compile ( ) : bool | ||
CreateFromFile ( string filename ) : |
||
Dispose ( ) : void | ||
GLSLShader ( GLSLShaderProgram prg, int shaderID ) : System |
This constructor is used when you're trying to put a wrapper around an already existing shader object. You have the context, and you have the shaderID. This is enough information to do useful things with the shader.
|
|
GLSLShader ( |
public static CreateFromFile ( string filename ) : |
||
filename | string | |
return |
public GLSLShader ( GLSLShaderProgram prg, int shaderID ) : System | ||
prg | GLSLShaderProgram | |
shaderID | int | |
return | System |
public GLSLShader ( |
||
gi | ||
shaderSourceCode | string | |
sType | ShaderType | |
return | System |