![]() |
Plasma Engine
2.0
|
Classes | |
struct | BoneData |
struct | Material |
struct | SubMesh |
Public Member Functions | |
void | Clear () |
plMeshBufferResourceDescriptor & | MeshBufferDesc () |
const plMeshBufferResourceDescriptor & | MeshBufferDesc () const |
void | UseExistingMeshBuffer (const plMeshBufferResourceHandle &hBuffer) |
void | AddSubMesh (plUInt32 uiPrimitiveCount, plUInt32 uiFirstPrimitive, plUInt32 uiMaterialIndex) |
void | SetMaterial (plUInt32 uiMaterialIndex, const char *szPathToMaterial) |
void | Save (plStreamWriter &inout_stream) |
plResult | Save (const char *szFile) |
plResult | Load (plStreamReader &inout_stream) |
plResult | Load (const char *szFile) |
const plMeshBufferResourceHandle & | GetExistingMeshBuffer () const |
plArrayPtr< const Material > | GetMaterials () const |
plArrayPtr< const SubMesh > | GetSubMeshes () const |
void | CollapseSubMeshes () |
Merges all submeshes into just one. | |
void | ComputeBounds () |
const plBoundingBoxSphere & | GetBounds () const |
void | SetBounds (const plBoundingBoxSphere &bounds) |
Public Attributes | |
plSkeletonResourceHandle | m_hDefaultSkeleton |
plHashTable< plHashedString, BoneData > | m_Bones |
float | m_fMaxBoneVertexOffset = 0.0f |
plResult plMeshResourceDescriptor::Load | ( | plStreamReader & | inout_stream | ) |
void plMeshResourceDescriptor::Save | ( | plStreamWriter & | inout_stream | ) |