141 const String& getMaterialName(
void)
const;
145 bool isMatInitialised(
void)
const;
174 void clearBoneAssignments(
void);
192 void _compileBoneAssignments(
void);
209 void addTextureAlias(
const String& aliasName,
const String& textureName);
215 void removeTextureAlias(
const String& aliasName);
218 void removeAllTextureAliases(
void);
236 bool updateMaterialUsingTextureAliases(
void);
246 void generateExtremes(
size_t count);
251 void setBuildEdgesEnabled(
bool b);
276 void removeLodLevels(
void);
multimap< size_t, VertexBoneAssignment >::type VertexBoneAssignmentList
Multimap of verex bone assignments (orders by vertex index)
const VertexBoneAssignmentList & getBoneAssignments()
Gets a const reference to the list of bone assignments.
Mesh * parent
Reference to parent Mesh (not a smart pointer so child does not keep parent alive).
vector< unsigned short >::type IndexMap
Dedicated index map for translate blend index to bone index (only valid if useSharedVertices = false)...
static String AUTODETECT_RESOURCE_GROUP_NAME
Special resource group name which causes resource group to be automatically determined based on searc...
size_t getTextureAliasCount(void) const
Gets the number of texture aliases assigned to the sub mesh.
vector< Vector3 >::type extremityPoints
A list of extreme points on the submesh (optional).
ConstMapIterator< AliasTextureNamePairList > AliasTextureIterator
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
bool hasTextureAliases(void) const
returns true if the sub mesh has texture aliases
VertexAnimationType mVertexAnimationType
Type of vertex animation for dedicated vertex data (populated by Mesh)
IndexMap blendIndexToBoneIndexMap
bool isBuildEdgesEnabled(void) const
Returns true(by default) if the submesh should be included in the mesh EdgeList, otherwise returns fa...
Internal implementation of Mesh reading / writing for the latest version of the .mesh format...
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
Summary class collecting together index data source information.
ProgressiveMesh::LODFaceList mLodFaceList
Defines a part of a complete mesh.
Summary class collecting together vertex source information.
bool mBoneAssignmentsOutOfDate
Flag indicating that bone assignments need to be recompiled.
'New' rendering operation using vertex buffers.
bool mMatInitialised
Is there a material yet?
VertexData * vertexData
Dedicated vertex data (only valid if useSharedVertices = false).
VertexBoneAssignmentList mBoneAssignments
Class for providing backwards-compatibility for loading version 1.2 of the .mesh format.
bool mBuildEdgesEnabled
Is Build Edges Enabled.
Concrete IteratorWrapper for const access to the underlying key-value container.
vector< IndexData * >::type LODFaceList
bool useSharedVertices
Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices...
RenderOperation::OperationType operationType
The render operation type used to render this submesh.
IndexData * indexData
Face index data.
map< String, String >::type AliasTextureNamePairList
Alias / Texture name pair (first = alias, second = texture name)
VertexAnimationType
Type of vertex animation.
Records the assignment of a single vertex to a single bone with the corresponding weight...
MapIterator< VertexBoneAssignmentList > BoneAssignmentIterator
Class for providing backwards-compatibility for loading version 1.1 of the .mesh format.
AliasTextureNamePairList mTextureAliases
paired list of texture aliases and texture names
OperationType
The rendering operation type to perform.
String mMaterialName
Name of the material this SubMesh uses.