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