dagon v0.10.3 (2020-05-05T21:30:13Z)
Home
Dub
Repo
ShaderParameter
dagon
graphics
shader
Undocumented in source.
class
ShaderParameter :
BaseShaderParameter
(
T
)
if
(
is
(
T
==
bool
) ||
is
(
T
==
int
)
||
is
(
T
==
float
)
||
is
(
T
==
Vector2f
)
||
is
(
T
==
Vector3f
)
||
is
(
T
==
Vector4f
)
||
is
(
T
==
Color4f
)
||
is
(
T
==
Matrix4x4f
)
) {
T
*
source
;
T
value
;
T
delegate
()
callback
;
this
(Shader shader, string name, T* source);
this
(Shader shader, string name, T value);
this
(Shader shader, string name, T delegate() callback);
void
initUniform
();
void
bind
();
void
unbind
();
}
Constructors
this
this
(Shader shader, string name, T* source)
Undocumented in source.
this
this
(Shader shader, string name, T value)
Undocumented in source.
this
this
(Shader shader, string name, T delegate() callback)
Undocumented in source.
Members
Functions
bind
void
bind
()
Undocumented in source. Be warned that the author may not have intended to support it.
initUniform
void
initUniform
()
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
callback
T
delegate
()
callback
;
Undocumented in source.
source
T
*
source
;
Undocumented in source.
value
T
value
;
Undocumented in source.
Inherited Members
From BaseShaderParameter
shader
Shader
shader
;
Undocumented in source.
name
string
name
;
Undocumented in source.
location
GLint
location
;
Undocumented in source.
initUniform
void
initUniform
()
Undocumented in source.
bind
void
bind
()
Undocumented in source.
unbind
void
unbind
()
Undocumented in source.
Meta
Source
See Implementation
dagon
graphics
shader
classes
BaseShaderParameter
MappedList
Shader
ShaderParameter
ShaderProgram
ShaderSubroutine
enums
ShaderType