class
GLShaderUniformBlocksHandles all the uniform blocks of a shader program.
Public types
- using UniformHashMapType = StaticHashMap<String, GLUniformBlockCache, UniformBlockCachesHashSize>
Public static variables
- static int UniformBlockCachesHashSize constexpr
Constructors, destructors, conversion operators
- GLShaderUniformBlocks()
- GLShaderUniformBlocks(GLShaderProgram* shaderProgram) explicit
- GLShaderUniformBlocks(GLShaderProgram* shaderProgram, const char* includeOnly, const char* exclude)
Public functions
- void setProgram(GLShaderProgram* shaderProgram)
- void setProgram(GLShaderProgram* shaderProgram, const char* includeOnly, const char* exclude)
- void setUniformsDataPointer(GLubyte* dataPointer)
- auto numUniformBlocks() const -> unsigned int
- auto hasUniformBlock(const char* name) const -> bool
- auto uniformBlock(const char* name) -> GLUniformBlockCache*
- auto allUniformBlocks() const -> const UniformHashMapType
- void commitUniformBlocks()
- void bind()