CRenderChunk

C++
struct CRenderChunk {
  bool m_bUsesBones;
  CREMesh * pRE;
  float m_texelAreaDensity;
  uint32 nFirstIndexId;
  uint32 nNumIndices;
  uint32 nFirstVertId;
  uint32 nNumVerts;
  uint16 m_nMatFlags;
  uint16 m_nMatID;
  uint32 nSubObjectIndex;
};
File

IShader.h

CRenderChunk::m_bUsesBones Data Member
C++
bool m_bUsesBones;
CRenderChunk::m_nMatFlags Data Member
C++
uint16 m_nMatFlags;
Description

Material flags from originally assigned material @see EMaterialFlags.

CRenderChunk::m_nMatID Data Member
C++
uint16 m_nMatID;
Description

Material Sub-object id.

CRenderChunk::m_texelAreaDensity Data Member
C++
float m_texelAreaDensity;
CRenderChunk::nFirstIndexId Data Member
C++
uint32 nFirstIndexId;
CRenderChunk::nFirstVertId Data Member
C++
uint32 nFirstVertId;
CRenderChunk::nNumIndices Data Member
C++
uint32 nNumIndices;
CRenderChunk::nNumVerts Data Member
C++
uint32 nNumVerts;
CRenderChunk::nSubObjectIndex Data Member
C++
uint32 nSubObjectIndex;
Description

Index of sub-object that this chunk originates from, used by sub-object hide mask. @see IStatObj::GetSubObject

CRenderChunk::pRE Data Member
C++
CREMesh * pRE;
Description

Pointer to the mesh.

CRenderChunk::CRenderChunk Constructor
C++
CRenderChunk();
CRenderChunk::GetMemoryUsage Method
C++
void GetMemoryUsage(ICrySizer * pSizer) const;
CRenderChunk::Size Method
C++
int Size() const;