Shader

The base shader class. All implementations will extend this.

Constructors

this
this(string filename, 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.

Static functions

shaderFactory
Shader shaderFactory(string filename, ShaderType type, GraphicsBackendType backend)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

filename
string filename;

The shader's filename.

type
ShaderType type;

The shader's type

Meta