retrograde ~master (2021-12-10T22:01:18.9456294)
Dub
Repo
OpenGlShaderProgram
retrograde
graphics
threedee
opengl
shader
Undocumented in source.
version(Have_derelict_gl3)
class
OpenGlShaderProgram :
ShaderProgram
{
UniformContainer
uniforms
;
UniformBlock
[]
uniformBlocks
;
GLuint
program
[@property getter];
this
(OpenGlShader[] shaders);
void
compile
();
void
use
();
void
validateUniforms
();
void
bindUniformBlock
(UniformBlock uniformBlock);
void
destroy
();
}
Constructors
this
this
(OpenGlShader[] shaders)
Undocumented in source.
Members
Functions
bindUniformBlock
void
bindUniformBlock
(UniformBlock uniformBlock)
Undocumented in source. Be warned that the author may not have intended to support it.
compile
void
compile
()
Undocumented in source. Be warned that the author may not have intended to support it.
destroy
void
destroy
()
Undocumented in source. Be warned that the author may not have intended to support it.
use
void
use
()
Undocumented in source. Be warned that the author may not have intended to support it.
validateUniforms
void
validateUniforms
()
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
program
GLuint
program
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
uniformBlocks
UniformBlock
[]
uniformBlocks
;
Undocumented in source.
uniforms
UniformContainer
uniforms
;
Undocumented in source.
Inherited Members
From ShaderProgram
shaders
Shader
[]
shaders
;
Undocumented in source.
_isCompiled
bool
_isCompiled
;
Undocumented in source.
isCompiled
bool
isCompiled
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
compile
void
compile
()
Undocumented in source. Be warned that the author may not have intended to support it.
use
void
use
()
Undocumented in source.
destroy
void
destroy
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
retrograde
graphics
threedee
opengl
shader
aliases
DefaultShaderCache
classes
DefaultShaderFactory
DefaultShaderProgramFactory
OpenGlShader
OpenGlShaderProgram
ShaderValidationException
enums
DefaultShader