raSystem  1.0 bata
CDataBlock Class Reference

#include <d3dxGlobal.h>

Public Member Functions

HRESULT AddData (const void *pNewData, UINT bufferSize, CDataBlock **ppBlock)
 
voidAllocate (UINT bufferSize, CDataBlock **ppBlock)
 
void EnableAlignment ()
 
 CDataBlock ()
 
 ~CDataBlock ()
 

Protected Attributes

UINT m_size
 
UINT m_maxSize
 
BYTE * m_pData
 
CDataBlockm_pNext
 
BOOL m_IsAligned
 

Friends

class CDataBlockStore
 

Detailed Description

Definition at line 611 of file d3dxGlobal.h.

Constructor & Destructor Documentation

◆ CDataBlock()

CDataBlock::CDataBlock ( )

◆ ~CDataBlock()

CDataBlock::~CDataBlock ( )

Member Function Documentation

◆ AddData()

HRESULT CDataBlock::AddData ( const void pNewData,
UINT  bufferSize,
CDataBlock **  ppBlock 
)

◆ Allocate()

void* CDataBlock::Allocate ( UINT  bufferSize,
CDataBlock **  ppBlock 
)

◆ EnableAlignment()

void CDataBlock::EnableAlignment ( )

Friends And Related Function Documentation

◆ CDataBlockStore

friend class CDataBlockStore
friend

Definition at line 633 of file d3dxGlobal.h.

Member Data Documentation

◆ m_IsAligned

BOOL CDataBlock::m_IsAligned
protected

Definition at line 619 of file d3dxGlobal.h.

◆ m_maxSize

UINT CDataBlock::m_maxSize
protected

Definition at line 615 of file d3dxGlobal.h.

◆ m_pData

BYTE* CDataBlock::m_pData
protected

Definition at line 616 of file d3dxGlobal.h.

◆ m_pNext

CDataBlock* CDataBlock::m_pNext
protected

Definition at line 617 of file d3dxGlobal.h.

◆ m_size

UINT CDataBlock::m_size
protected

Definition at line 614 of file d3dxGlobal.h.


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