Shader

Undocumented in source.

Constructors

this
this(ShaderProgram program, Owner o)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

bind
void bind(RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
getParameter
T getParameter(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
setParameter
ShaderParameter!T setParameter(string name, T val)
Undocumented in source. Be warned that the author may not have intended to support it.
setParameterCallback
ShaderParameter!T setParameterCallback(string name, T delegate() val)
Undocumented in source. Be warned that the author may not have intended to support it.
setParameterRef
ShaderParameter!T setParameterRef(string name, T val)
Undocumented in source. Be warned that the author may not have intended to support it.
setParameterSubroutine
ShaderSubroutine setParameterSubroutine(string name, ShaderType shaderType, string subroutineName)
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind(RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

fragmentSubroutineIndices
GLuint[] fragmentSubroutineIndices;
Undocumented in source.
parameters
MappedList!BaseShaderParameter parameters;
Undocumented in source.
program
ShaderProgram program;
Undocumented in source.
vertexSubroutineIndices
GLuint[] vertexSubroutineIndices;
Undocumented in source.

Meta