![]() |
XII Release 0.1.0
|
Classes | |
struct | BoneData |
struct | Material |
struct | SubMesh |
Public Member Functions | |
void | Clear () |
xiiMeshBufferResourceDescriptor & | MeshBufferDesc () |
const xiiMeshBufferResourceDescriptor & | MeshBufferDesc () const |
void | UseExistingMeshBuffer (const xiiMeshBufferResourceHandle &hBuffer) |
void | AddSubMesh (xiiUInt32 uiPrimitiveCount, xiiUInt32 uiFirstPrimitive, xiiUInt32 uiMaterialIndex) |
void | SetMaterial (xiiUInt32 uiMaterialIndex, const char *szPathToMaterial) |
void | Save (xiiStreamWriter &inout_stream) |
xiiResult | Save (const char *szFile) |
xiiResult | Load (xiiStreamReader &inout_stream) |
xiiResult | Load (const char *szFile) |
const xiiMeshBufferResourceHandle & | GetExistingMeshBuffer () const |
xiiArrayPtr< const Material > | GetMaterials () const |
xiiArrayPtr< const SubMesh > | GetSubMeshes () const |
void | CollapseSubMeshes () |
Merges all submeshes into just one. | |
void | ComputeBounds () |
const xiiBoundingBoxSphere & | GetBounds () const |
void | SetBounds (const xiiBoundingBoxSphere &bounds) |
Public Attributes | |
xiiSkeletonResourceHandle | m_hDefaultSkeleton |
xiiHashTable< xiiHashedString, BoneData > | m_Bones |
float | m_fMaxBoneVertexOffset = 0.0f |
xiiResult xiiMeshResourceDescriptor::Load | ( | xiiStreamReader & | inout_stream | ) |
void xiiMeshResourceDescriptor::Save | ( | xiiStreamWriter & | inout_stream | ) |