mango-engine v0.1.0 (2016-10-22T22:46:47Z)
Dub
Repo
GLShader
mango_engine
graphics
opengl
gl_shader
Undocumented in source.
class
GLShader :
Shader
{
package shared
GLuint
shaderId
;
this
(string filename, ShaderType type);
void
onShaderAdd
();
void
cleanup
();
}
Constructors
this
this
(string filename, ShaderType type)
Please use Shader.shaderFactory()
Members
Functions
cleanup
void
cleanup
()
Undocumented in source. Be warned that the author may not have intended to support it.
onShaderAdd
void
onShaderAdd
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
shaderId
GLuint
shaderId
;
Undocumented in source.
Inherited Members
From Shader
filename
string
filename
;
The shader's filename.
type
ShaderType
type
;
The shader's type
shaderFactory
Shader
shaderFactory
(string filename, ShaderType type, GraphicsBackendType backend)
Undocumented in source. Be warned that the author may not have intended to support it.
onShaderRemove
void
onShaderRemove
()
Undocumented in source. Be warned that the author may not have intended to support it.
onShaderAdd
void
onShaderAdd
()
Undocumented in source.
cleanup
void
cleanup
()
Undocumented in source.
Meta
Source
See Implementation
mango_engine
graphics
opengl
gl_shader
classes
GLShader
GLShaderProgram
functions
shaderTypeToGL