- ~this
~this()
Undocumented in source.
- load
Shader load(string dir, string[uint] attr, string[uint] frag)
Undocumented in source. Be warned that the author may not have intended to support it.
- load
Shader load(string name, string[uint] attr, string[uint] frag, string vertex, string fragment)
Undocumented in source. Be warned that the author may not have intended to support it.
- prepare
Shader prepare(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
Uniform opIndex(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyUniform
void applyUniform(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- use
void use(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- start
void start(string folder)
Undocumented in source. Be warned that the author may not have intended to support it.
- start
void start(string name, string vertex, string fragment)
Undocumented in source. Be warned that the author may not have intended to support it.
- finish
void finish()
Undocumented in source. Be warned that the author may not have intended to support it.
- bindAttr
void bindAttr(string[uint] attrs)
Undocumented in source. Be warned that the author may not have intended to support it.
- bindFrag
void bindFrag(string[uint] frags)
Undocumented in source. Be warned that the author may not have intended to support it.
- program
gl.Program program;
Undocumented in source.
- shaderVertex
gl.Shader shaderVertex;
Undocumented in source.
- shaderGeometry
gl.Shader shaderGeometry;
Undocumented in source.
- shaderFragment
gl.Shader shaderFragment;
Undocumented in source.
- valid
bool valid;
Undocumented in source.
- failed
bool failed;
Undocumented in source.
- name
string name;
Undocumented in source.
- uniforms
Uniform[string] uniforms;
Undocumented in source.
- shaderContainer
Shader[string] shaderContainer;
Undocumented in source.
- Uniform
class Uniform
Undocumented in source.