mango-engine v0.1.0 (2016-10-22T22:46:47Z)
Dub
Repo
GLShaderProgram
mango_engine
graphics
opengl
gl_shader
Undocumented in source.
class
GLShaderProgram :
ShaderProgram
{
this
();
void
use
();
void
prepareProgram
();
void
addShader_
(Shader shader_);
void
removeShader_
(Shader 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.
prepareProgram
void
prepareProgram
()
Undocumented in source. Be warned that the author may not have intended to support it.
removeShader_
void
removeShader_
(Shader shader_)
Undocumented in source. Be warned that the author may not have intended to support it.
use
void
use
()
Sets the shader for use.
Inherited Members
From ShaderProgram
shaderProgramFactory
ShaderProgram
shaderProgramFactory
(GraphicsBackendType backend)
Undocumented in source. Be warned that the author may not have intended to support it.
addShader
void
addShader
(Shader shader)
Undocumented in source. Be warned that the author may not have intended to support it.
removeShader
void
removeShader
(ShaderType shaderType)
Undocumented in source. Be warned that the author may not have intended to support it.
prepareProgram
void
prepareProgram
()
This is called after all the shaders have been added.
addShader_
void
addShader_
(Shader shader)
Undocumented in source.
removeShader_
void
removeShader_
(Shader shader)
Undocumented in source.
Meta
Source
See Implementation
mango_engine
graphics
opengl
gl_shader
classes
GLShader
GLShaderProgram
functions
shaderTypeToGL