class
GLUniformBlockCacheCaches a uniform block buffer and then updates it in the shader.
Constructors, destructors, conversion operators
- GLUniformBlockCache()
- GLUniformBlockCache(GLUniformBlock* uniformBlock) explicit
Public functions
- auto uniformBlock() const -> const GLUniformBlock*
- auto index() const -> GLuint
- Wrapper around
GLUniformBlock::index()
- auto bindingIndex() const -> GLuint
- Wrapper around
GLUniformBlock::bindingIndex()
- auto size() const -> GLint
- Wrapper around
GLUniformBlock::size()
-
auto alignAmount() const -> std::
uint8_t - Wrapper around
GLUniformBlock::alignAmount()
- auto dataPointer() -> GLubyte*
- auto dataPointer() const -> const GLubyte*
- void setDataPointer(GLubyte* dataPointer)
- auto usedSize() const -> GLint
- void setUsedSize(GLint usedSize)
-
auto copyData(std::
uint32_t destIndex, const GLubyte* src, std:: uint32_t numBytes) -> bool - auto copyData(const GLubyte* src) -> bool
- auto uniform(StringView name) -> GLUniformCache*
- void setBlockBinding(GLuint blockBinding)
- Wrapper around
GLUniformBlock::setBlockBinding()