DDraceNetwork Docs
CCommandBuffer::CBuffer Class Reference

Public Member Functions

 CBuffer (unsigned BufferSize)
 
 ~CBuffer ()
 
void Reset ()
 
void * Alloc (unsigned Requested, unsigned Alignment=alignof(std::max_align_t))
 
unsigned char * DataPtr ()
 
unsigned DataSize () const
 
unsigned DataUsed () const
 

Private Attributes

unsigned char * m_pData
 
unsigned m_Size
 
unsigned m_Used
 

Constructor & Destructor Documentation

◆ CBuffer()

CCommandBuffer::CBuffer::CBuffer ( unsigned  BufferSize)
inline

◆ ~CBuffer()

CCommandBuffer::CBuffer::~CBuffer ( )
inline

Member Function Documentation

◆ Alloc()

void * CCommandBuffer::CBuffer::Alloc ( unsigned  Requested,
unsigned  Alignment = alignof(std::max_align_t) 
)
inline

◆ DataPtr()

unsigned char * CCommandBuffer::CBuffer::DataPtr ( )
inline

◆ DataSize()

unsigned CCommandBuffer::CBuffer::DataSize ( ) const
inline

◆ DataUsed()

unsigned CCommandBuffer::CBuffer::DataUsed ( ) const
inline

◆ Reset()

void CCommandBuffer::CBuffer::Reset ( )
inline

Member Data Documentation

◆ m_pData

unsigned char* CCommandBuffer::CBuffer::m_pData
private

◆ m_Size

unsigned CCommandBuffer::CBuffer::m_Size
private

◆ m_Used

unsigned CCommandBuffer::CBuffer::m_Used
private

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