Shader

Represents an individual Shader which can be added to a ShaderProgram.

Constructors

this
this(GameManager game, string source, ShaderType type)
Undocumented in source.

Members

Functions

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

Properties

game
GameManager game [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

build
Shader build(GameManager game, string source, ShaderType type)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

type
ShaderType type;
Undocumented in source.

Meta