ShaderProgram

Base class for a ShaderProgram. Implemented by backends.

This represents multiple shaders linked into a program. Each shader is of a different type, such as a Vertex Shader and Fragment Shader.

Constructors

this
this()
Undocumented in source.

Members

Functions

addShader
void addShader(Shader shader)
Undocumented in source. Be warned that the author may not have intended to support it.
addShader_
void addShader_(Shader shader)
Undocumented in source.
prepareProgram
void prepareProgram()

This is called after all the shaders have been added.

removeShader
void removeShader(ShaderType shaderType)
Undocumented in source. Be warned that the author may not have intended to support it.
removeShader_
void removeShader_(Shader shader)
Undocumented in source.

Static functions

shaderProgramFactory
ShaderProgram shaderProgramFactory(GraphicsBackendType backend)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta