- draw
void draw(Mesh mesh, bool wireframe)
Undocumented in source.
- getVertexElementLocation
int getVertexElementLocation(VertexElementType type)
get location for vertex attribute
- hasUniform
bool hasUniform(DefaultUniform id)
returns true if effect has uniform
- hasUniform
bool hasUniform(string uniformName)
returns true if effect has uniform
- setUniform
void setUniform(string uniformName, const(mat4) matrix)
Undocumented in source.
- setUniform
void setUniform(string uniformName, const(mat4)[] matrix)
Undocumented in source.
- setUniform
void setUniform(string uniformName, float v)
Undocumented in source.
- setUniform
void setUniform(string uniformName, float[] v)
Undocumented in source.
- setUniform
void setUniform(string uniformName, vec2 vec)
Undocumented in source.
- setUniform
void setUniform(string uniformName, vec2[] vec)
Undocumented in source.
- setUniform
void setUniform(string uniformName, vec3 vec)
Undocumented in source.
- setUniform
void setUniform(string uniformName, vec3[] vec)
Undocumented in source.
- setUniform
void setUniform(string uniformName, vec4 vec)
Undocumented in source.
- setUniform
void setUniform(string uniformName, vec4[] vec)
Undocumented in source.
- setUniform
void setUniform(DefaultUniform id, const(mat4) matrix)
Undocumented in source.
- setUniform
void setUniform(DefaultUniform id, const(mat4)[] matrix)
Undocumented in source.
- setUniform
void setUniform(DefaultUniform id, float v)
Undocumented in source.
- setUniform
void setUniform(DefaultUniform id, float[] v)
Undocumented in source.
- setUniform
void setUniform(DefaultUniform id, vec2 vec)
Undocumented in source.
- setUniform
void setUniform(DefaultUniform id, vec2[] vec)
Undocumented in source.
- setUniform
void setUniform(DefaultUniform id, vec3 vec)
Undocumented in source.
- setUniform
void setUniform(DefaultUniform id, vec3[] vec)
Undocumented in source.
- setUniform
void setUniform(DefaultUniform id, vec4 vec)
Undocumented in source.
- setUniform
void setUniform(DefaultUniform id, vec4[] vec)
Undocumented in source.
Base class for graphics effect / program - e.g. for OpenGL shader program