Karma Engine
Loading...
Searching...
No Matches
Karma::OpenGLUniformBuffer Struct Reference
Inheritance diagram for Karma::OpenGLUniformBuffer:
Collaboration diagram for Karma::OpenGLUniformBuffer:

Public Member Functions

 OpenGLUniformBuffer (std::vector< ShaderDataType > dataTypes, uint32_t bindingPointIndex)
 
uint32_t GetUniformsID () const
 
virtual void UploadUniformBuffer () override
 
- Public Member Functions inherited from Karma::UniformBufferObject
 UniformBufferObject (std::vector< ShaderDataType > dataTypes, uint32_t bindingPointIndex)
 
template<typename... T>
void UpdateUniforms (T &&... uniforms)
 
uint32_t GetBufferSize () const
 
const std::vector< UBODataPointer > & GetUniformList () const
 
const std::vector< ShaderDataType > & GetUniformDataType () const
 
const std::vector< uint32_t > & GetAlignedOffsets () const
 
const std::vector< uint32_t > & GetUniformSize () const
 
uint32_t GetBindingPointIndex () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Karma::UniformBufferObject
static UniformBufferObjectCreate (std::vector< ShaderDataType > dataTypes, uint32_t bindingPointIndex)
 
- Protected Member Functions inherited from Karma::UniformBufferObject
void CalculateOffsetsAndBufferSize ()
 
- Protected Attributes inherited from Karma::UniformBufferObject
uint32_t m_BufferSize
 
uint32_t m_BindingPoint
 
std::vector< UBODataPointerm_UniformList
 
std::vector< ShaderDataType > m_UniformDataType
 
std::vector< uint32_t > m_UniformAlignedOffsets
 
std::vector< uint32_t > m_UniformSizes
 

Member Function Documentation

◆ UploadUniformBuffer()

void Karma::OpenGLUniformBuffer::UploadUniformBuffer ( )
overridevirtual

Reimplemented from Karma::UniformBufferObject.


The documentation for this struct was generated from the following files: