- viewMatrix
int viewMatrix;
Shader uniforms locations
- modelMatrix
int modelMatrix;
Undocumented in source.
- projectionMatrix
int projectionMatrix;
Undocumented in source.
- dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
- link
void link()
Undocumented in source. Be warned that the author may not have intended to support it.
- getUniformLocation
int getUniformLocation(string uniformName)
Returns location of an uniform variable.
- load
Shader load(string shaderName, bool linkProgram)
- createShader
uint createShader(uint program, string fileName, uint type)
Generates and compiles a shader
- programID
uint programID [@property getter]
- vertexID
uint vertexID [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- fragmentID
uint fragmentID [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- geometryID
uint geometryID [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- name
string name [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.