ShaderProgram

Represents a ShaderProgram that is executed

Constructors

this
this(GameManager game)
Undocumented in source.

Members

Functions

addShader
void addShader(Shader shader)
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.
onShaderAdd
void onShaderAdd(Shader shader)
Undocumented in source.
onShaderRemove
void onShaderRemove(Shader shader)
Undocumented in source.
prepareForUse
void prepareForUse()

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

removeShader
void removeShader(ShaderType shaderType)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

game
GameManager game [@property getter]

The GameManager this ShaderProgram belongs to.

Static functions

build
ShaderProgram build(GameManager game)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta