GLShaderProgram

Undocumented in source.

Constructors

this
this(GameManager game)
Undocumented in source.

Members

Functions

onShaderAdd
void onShaderAdd(Shader shader)
Undocumented in source.
onShaderRemove
void onShaderRemove(Shader shader)
Undocumented in source.
prepareForUse
void prepareForUse()
Undocumented in source. Be warned that the author may not have intended to support it.
use
void use()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

programId
GLuint programId;
Undocumented in source.

Inherited Members

From ShaderProgram

game
GameManager game [@property getter]

The GameManager this ShaderProgram belongs to.

build
ShaderProgram build(GameManager game)
Undocumented in source. Be warned that the author may not have intended to support it.
addShader
void addShader(Shader shader)
Undocumented in source. Be warned that the author may not have intended to support it.
removeShader
void removeShader(ShaderType shaderType)
Undocumented in source. Be warned that the author may not have intended to support it.
cleanup
void cleanup()
Undocumented in source. Be warned that the author may not have intended to support it.
prepareForUse
void prepareForUse()

Prepares the ShaderProgram for use. Make sure to call after adding all the shaders to be used.

onShaderAdd
void onShaderAdd(Shader shader)
Undocumented in source.
onShaderRemove
void onShaderRemove(Shader shader)
Undocumented in source.

Meta