VkCV Framework  0.0.1
CV Vulkan framework
vkcv::PushConstants Class Reference

Public Member Functions

 PushConstants (size_t sizePerDrawcall)
 
 PushConstants (const PushConstants &other)=default
 
 PushConstants (PushConstants &&other)=default
 
PushConstantsoperator= (const PushConstants &other)=default
 
PushConstantsoperator= (PushConstants &&other)=default
 
size_t getSizePerDrawcall () const
 
size_t getFullSize () const
 
size_t getDrawcallCount () const
 
void clear ()
 
template<typename T = uint8_t>
bool appendDrawcall (const T &value)
 
template<typename T = uint8_t>
T & getDrawcall (size_t index)
 
template<typename T = uint8_t>
const T & getDrawcall (size_t index) const
 
const void * getDrawcallData (size_t index) const
 
const void * getData () const
 

Private Attributes

std::vector< uint8_t > m_data
 
size_t m_sizePerDrawcall
 

Detailed Description


The documentation for this class was generated from the following file: