NW4F G3d
Loading...
Searching...
No Matches
nw::g3d::ModelObj::Sizer Class Reference

#include <g3d_ModelObj.h>

Inherits nw::g3d::Sizer.

Public Types

enum  {
  SKELETON_BUFFER , SHAPE_BUFFER , MATERIAL_BUFFER , SKELETON ,
  SHAPE_ARRAY , MATERIAL_ARRAY , BONE_VIS_ARRAY , MAT_VIS_ARRAY ,
  BOUNDING , NUM_CHUNK
}

Public Member Functions

 Sizer ()
void Calc (const InitArg &arg)
Public Member Functions inherited from nw::g3d::Sizer
 Sizer ()
size_t GetTotalSize () const
bool IsValid () const
void Invalidate ()
template<typename T>
NW_G3D_FORCE_INLINE T * GetPtr (void *ptr, int type) const
NW_G3D_FORCE_INLINE void * GetPtr (void *ptr, int type) const

Public Attributes

Chunk chunk [NUM_CHUNK]

Additional Inherited Members

Protected Member Functions inherited from nw::g3d::Sizer
void CalcOffset (Chunk *chunk, int count)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SKELETON_BUFFER 
SHAPE_BUFFER 
MATERIAL_BUFFER 
SKELETON 
SHAPE_ARRAY 
MATERIAL_ARRAY 
BONE_VIS_ARRAY 
MAT_VIS_ARRAY 
BOUNDING 
NUM_CHUNK 

Constructor & Destructor Documentation

◆ Sizer()

nw::g3d::ModelObj::Sizer::Sizer ( )
inline

Member Function Documentation

◆ Calc()

void nw::g3d::ModelObj::Sizer::Calc ( const InitArg & arg)

Member Data Documentation

◆ chunk

Chunk nw::g3d::ModelObj::Sizer::chunk[NUM_CHUNK]