dagon v0.9.0 (2018-11-13T17:01:23Z)
Home
Dub
Repo
ShaderSubroutine
dagon
graphics
shader
Undocumented in source.
class
ShaderSubroutine :
BaseShaderParameter
{
ShaderType
shaderType
;
GLint
location
;
GLuint
index
;
string
subroutineName
;
this
(Shader shader, ShaderType shaderType, string name, string subroutineName);
void
initUniform
();
void
bind
();
void
unbind
();
}
Constructors
this
this
(Shader shader, ShaderType shaderType, string name, string subroutineName)
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
index
GLuint
index
;
Undocumented in source.
location
GLint
location
;
Undocumented in source.
shaderType
ShaderType
shaderType
;
Undocumented in source.
subroutineName
string
subroutineName
;
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