dagon v0.9.0 (2018-11-13T17:01:23Z)
Home
Dub
Repo
ShaderProgram
dagon
graphics
shader
A shader program class that can be shared between multiple Shaders.
class
ShaderProgram : Owner {
GLuint
program
;
GLuint
vertexShader
;
GLuint
fragmentShader
;
this
(string vertexShaderSrc, string fragmentShaderSrc, Owner o);
void
bind
();
void
unbind
();
}
Constructors
this
this
(string vertexShaderSrc, string fragmentShaderSrc, Owner o)
Undocumented in source.
Members
Functions
bind
void
bind
()
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void
unbind
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
fragmentShader
GLuint
fragmentShader
;
Undocumented in source.
program
GLuint
program
;
Undocumented in source.
vertexShader
GLuint
vertexShader
;
Undocumented in source.
Meta
Source
See Implementation
dagon
graphics
shader
classes
BaseShaderParameter
MappedList
Shader
ShaderParameter
ShaderProgram
ShaderSubroutine
enums
ShaderType
A shader program class that can be shared between multiple Shaders.