dagon v0.10.3 (2020-05-05T21:30:13Z)
Home
Dub
Repo
BaseShaderParameter
dagon
graphics
shader
A shader class that wraps OpenGL shader creation and uniform initialization.
abstract
class
BaseShaderParameter : Owner {
Shader
shader
;
string
name
;
GLint
location
;
this
(Shader shader, string name);
void
initUniform
();
void
bind
();
void
unbind
();
}
Constructors
this
this
(Shader shader, string name)
Undocumented in source.
Members
Functions
bind
void
bind
()
Undocumented in source.
initUniform
void
initUniform
()
Undocumented in source.
unbind
void
unbind
()
Undocumented in source.
Variables
location
GLint
location
;
Undocumented in source.
name
string
name
;
Undocumented in source.
shader
Shader
shader
;
Undocumented in source.
Meta
Source
See Implementation
dagon
graphics
shader
classes
BaseShaderParameter
MappedList
Shader
ShaderParameter
ShaderProgram
ShaderSubroutine
enums
ShaderType
A shader class that wraps OpenGL shader creation and uniform initialization.