Resource holding data about 3D mesh. More...
#include <OgreMesh.h>
Public Types | |
typedef MapIterator < VertexBoneAssignmentList > | BoneAssignmentIterator |
typedef ConstVectorIterator < PoseList > | ConstPoseIterator |
typedef vector< unsigned short > ::type | IndexMap |
enum | LoadingState { LOADSTATE_UNLOADED, LOADSTATE_LOADING, LOADSTATE_LOADED, LOADSTATE_UNLOADING, LOADSTATE_PREPARED, LOADSTATE_PREPARING } |
Enum identifying the loading state of the resource. More... | |
typedef vector< Real >::type | LodValueList |
typedef vector< MeshLodUsage > ::type | MeshLodUsageList |
typedef VectorIterator< PoseList > | PoseIterator |
typedef VectorIterator < SubMeshList > | SubMeshIterator |
typedef vector< SubMesh * >::type | SubMeshList |
typedef HashMap< String, ushort > | SubMeshNameMap |
A hashmap used to store optional SubMesh names. More... | |
typedef multimap< size_t, VertexBoneAssignment >::type | VertexBoneAssignmentList |
Multimap of vertex bone assignments (orders by vertex index). More... | |
Public Member Functions | |
Mesh (ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0) | |
Default constructor - used by MeshManager. More... | |
~Mesh () | |
void | _compileBoneAssignments (void) |
Internal method, be called once to compile bone assignments into geometry buffer. More... | |
void | _configureMeshLodUsage (const LodConfig &lodConfig) |
void | _determineAnimationTypes (void) const |
Internal method which, if animation types have not been determined, scans any vertex animations and determines the type for each set of vertex data (cannot have 2 different types). More... | |
virtual void | _dirtyState () |
Manually mark the state of this resource as having been changed. More... | |
virtual void | _fireLoadingComplete (bool wasBackgroundLoaded) |
Firing of loading complete event. More... | |
virtual void | _firePreparingComplete (bool wasBackgroundLoaded) |
Firing of preparing complete event. More... | |
virtual void | _fireUnloadingComplete (void) |
Firing of unloading complete event. More... | |
virtual Animation * | _getAnimationImpl (const String &name) const |
Internal access to the named vertex Animation object - returns null if it does not exist. More... | |
bool | _getAnimationTypesDirty (void) const |
Are the derived animation types out of date? More... | |
ushort | _getSubMeshIndex (const String &name) const |
Gets the index of a submesh with a given name. More... | |
void | _initAnimationState (AnimationStateSet *animSet) |
Initialise an animation set suitable for use with this mesh. More... | |
virtual void | _notifyOrigin (const String &origin) |
Notify this resource of it's origin. More... | |
void | _notifySkeleton (SkeletonPtr &pSkel) |
Internal notification, used to tell the Mesh which Skeleton to use without loading it. More... | |
unsigned short | _rationaliseBoneAssignments (size_t vertexCount, VertexBoneAssignmentList &assignments) |
Rationalises the passed in bone assignment list. More... | |
void | _refreshAnimationState (AnimationStateSet *animSet) |
Refresh an animation set suitable for use with this mesh. More... | |
void | _setBoundingSphereRadius (Real radius) |
Manually set the bounding radius. More... | |
void | _setBounds (const AxisAlignedBox &bounds, bool pad=true) |
Manually set the bounding box for this Mesh. More... | |
void | _setLodInfo (unsigned short numLevels, bool isManual) |
Internal methods for loading LOD, do not use. More... | |
void | _setLodUsage (unsigned short level, MeshLodUsage &usage) |
Internal methods for loading LOD, do not use. More... | |
void | _setSubMeshLodFaceList (unsigned short subIdx, unsigned short level, IndexData *facedata) |
Internal methods for loading LOD, do not use. More... | |
void | _updateCompiledBoneAssignments (void) |
Internal method, be called once to update the compiled bone assignments. More... | |
void | addBoneAssignment (const VertexBoneAssignment &vertBoneAssign) |
Assigns a vertex to a bone with a given weight, for skeletal animation. More... | |
virtual void | addListener (Listener *lis) |
Register a listener on this resource. More... | |
void | buildEdgeList (void) |
Builds an edge list for this mesh, which can be used for generating a shadow volume among other things. More... | |
void | buildTangentVectors (VertexElementSemantic targetSemantic=VES_TANGENT, unsigned short sourceTexCoordSet=0, unsigned short index=0, bool splitMirrored=false, bool splitRotated=false, bool storeParityInW=false) |
This method builds a set of tangent vectors for a given mesh into a 3D texture coordinate buffer. More... | |
virtual void | changeGroupOwnership (const String &newGroup) |
Change the resource group ownership of a Resource. More... | |
void | clearBoneAssignments (void) |
Removes all bone assignments for this mesh. More... | |
MeshPtr | clone (const String &newName, const String &newGroup=StringUtil::BLANK) |
Makes a copy of this mesh object and gives it a new name. More... | |
virtual void | copyParametersTo (StringInterface *dest) const |
Method for copying this object's parameters to another object. More... | |
virtual Animation * | createAnimation (const String &name, Real length) |
Creates a new Animation object for vertex animating this mesh. More... | |
void | createManualLodLevel (Real value, const String &meshName, const String &groupName=Ogre::String()) |
Adds a new manual level-of-detail entry to this Mesh. More... | |
Pose * | createPose (ushort target, const String &name=StringUtil::BLANK) |
Create a new Pose for this mesh or one of its submeshes. More... | |
SubMesh * | createSubMesh (void) |
Creates a new SubMesh. More... | |
SubMesh * | createSubMesh (const String &name) |
Creates a new SubMesh and gives it a name. More... | |
void | destroySubMesh (unsigned short index) |
Destroy a SubMesh with the given index. More... | |
void | destroySubMesh (const String &name) |
Destroy a SubMesh with the given name. More... | |
virtual void | escalateLoading () |
Escalates the loading of a background loaded resource. More... | |
void | freeEdgeList (void) |
Destroys and frees the edge lists this mesh has built. More... | |
virtual Animation * | getAnimation (const String &name) const |
Returns the named vertex Animation object. More... | |
virtual Animation * | getAnimation (unsigned short index) const |
Gets a single morph animation by index. More... | |
bool | getAutoBuildEdgeLists (void) const |
Sets whether or not this Mesh should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. More... | |
BoneAssignmentIterator | getBoneAssignmentIterator (void) |
Gets an iterator for access all bone assignments. More... | |
const VertexBoneAssignmentList & | getBoneAssignments () const |
Gets a const reference to the list of bone assignments. More... | |
Real | getBoundingSphereRadius (void) const |
Gets the radius of the bounding sphere surrounding this mesh. More... | |
const AxisAlignedBox & | getBounds (void) const |
Get the axis-aligned bounding box for this mesh. More... | |
virtual ResourceManager * | getCreator (void) |
Gets the manager which created this resource. More... | |
EdgeData * | getEdgeList (unsigned short lodIndex=0) |
Return the edge list for this mesh, building it if required. More... | |
const EdgeData * | getEdgeList (unsigned short lodIndex=0) const |
Return the edge list for this mesh, building it if required. More... | |
virtual const String & | getGroup (void) const |
Gets the group which this resource is a member of. More... | |
virtual ResourceHandle | getHandle (void) const |
HardwareBuffer::Usage | getIndexBufferUsage (void) const |
Gets the usage setting for this meshes index buffers. More... | |
virtual LoadingState | getLoadingState () const |
Returns the current loading state. More... | |
ushort | getLodIndex (Real value) const |
Retrieves the level of detail index for the given LOD value. More... | |
const MeshLodUsage & | getLodLevel (ushort index) const |
Gets details of the numbered level of detail entry. More... | |
const LodStrategy * | getLodStrategy () const |
Get LOD strategy used by this mesh. More... | |
virtual const String & | getName (void) const |
Gets resource name. More... | |
virtual unsigned short | getNumAnimations (void) const |
Gets the number of morph animations in this mesh. More... | |
ushort | getNumLodLevels (void) const |
Returns the number of levels of detail that this mesh supports. More... | |
unsigned short | getNumSubMeshes (void) const |
Gets the number of sub meshes which comprise this mesh. More... | |
virtual const String & | getOrigin (void) const |
Get the origin of this resource, e.g. More... | |
ParamDictionary * | getParamDictionary (void) |
Retrieves the parameter dictionary for this class. More... | |
const ParamDictionary * | getParamDictionary (void) const |
virtual String | getParameter (const String &name) const |
Generic parameter retrieval method. More... | |
const ParameterList & | getParameters (void) const |
Retrieves a list of parameters valid for this object. More... | |
Pose * | getPose (ushort index) |
Retrieve an existing Pose by index. More... | |
Pose * | getPose (const String &name) |
Retrieve an existing Pose by name. More... | |
size_t | getPoseCount (void) const |
Get the number of poses. More... | |
PoseIterator | getPoseIterator (void) |
Get an iterator over all the poses defined. More... | |
ConstPoseIterator | getPoseIterator (void) const |
Get an iterator over all the poses defined. More... | |
const PoseList & | getPoseList (void) const |
Get pose list. More... | |
bool | getSharedVertexDataAnimationIncludesNormals () const |
Returns whether animation on shared vertex data includes normals. More... | |
virtual VertexAnimationType | getSharedVertexDataAnimationType (void) const |
Gets the type of vertex animation the shared vertex data of this mesh supports. More... | |
virtual size_t | getSize (void) const |
Retrieves info about the size of the resource. More... | |
const SkeletonPtr & | getSkeleton (void) const |
Gets a pointer to any linked Skeleton. More... | |
const String & | getSkeletonName (void) const |
Gets the name of any linked Skeleton. More... | |
virtual size_t | getStateCount () const |
Returns the number of times this resource has changed state, which generally means the number of times it has been loaded. More... | |
SubMesh * | getSubMesh (unsigned short index) const |
Gets a pointer to the submesh indicated by the index. More... | |
SubMesh * | getSubMesh (const String &name) const |
Gets a SubMesh by name. More... | |
SubMeshIterator | getSubMeshIterator (void) |
Gets an iterator over the available submeshes. More... | |
const SubMeshNameMap & | getSubMeshNameMap (void) const |
Gets a reference to the optional name assignments of the SubMeshes. More... | |
HardwareBuffer::Usage | getVertexBufferUsage (void) const |
Gets the usage setting for this meshes vertex buffers. More... | |
VertexData * | getVertexDataByTrackHandle (unsigned short handle) |
Gets a pointer to a vertex data element based on a morph animation track handle. More... | |
virtual bool | hasAnimation (const String &name) const |
Returns whether this mesh contains the named vertex animation. More... | |
bool | hasSkeleton (void) const |
Returns true if this Mesh has a linked Skeleton. More... | |
bool | hasVertexAnimation (void) const |
Returns whether or not this mesh has some kind of vertex animation. More... | |
virtual bool | isBackgroundLoaded (void) const |
Returns whether this Resource has been earmarked for background loading. More... | |
bool | isEdgeListBuilt (void) const |
Returns whether this mesh has an attached edge list. More... | |
bool | isIndexBufferShadowed (void) const |
Gets whether or not this meshes index buffers are shadowed. More... | |
virtual bool | isLoaded (void) const |
Returns true if the Resource has been loaded, false otherwise. More... | |
virtual bool | isLoading () const |
Returns whether the resource is currently in the process of background loading. More... | |
bool | isLodManual (void) const |
Returns true if this mesh is using manual LOD. More... | |
virtual bool | isManuallyLoaded (void) const |
Is this resource manually loaded? More... | |
virtual bool | isPrepared (void) const |
Returns true if the Resource has been prepared, false otherwise. More... | |
bool | isPreparedForShadowVolumes (void) const |
Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes. More... | |
virtual bool | isReloadable (void) const |
Returns true if the Resource is reloadable, false otherwise. More... | |
bool | isVertexBufferShadowed (void) const |
Gets whether or not this meshes vertex buffers are shadowed. More... | |
virtual void | load (bool backgroundThread=false) |
Loads the resource, if it is not already. More... | |
void | mergeAdjacentTexcoords (unsigned short finalTexCoordSet, unsigned short texCoordSetToDestroy) |
This method collapses two texcoords into one for all submeshes where this is possible. More... | |
void | nameSubMesh (const String &name, ushort index) |
Gives a name to a SubMesh. More... | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
virtual void | prepare (bool backgroundThread=false) |
Prepares the resource for load, if it is not already. More... | |
void | prepareForShadowVolume (void) |
This method prepares the mesh for generating a renderable shadow volume. More... | |
virtual void | reload (void) |
Reloads the resource, if it is already loaded. More... | |
virtual void | removeAllAnimations (void) |
Removes all morph Animations from this mesh. More... | |
void | removeAllPoses (void) |
Destroy all poses. More... | |
virtual void | removeAnimation (const String &name) |
Removes vertex Animation from this mesh. More... | |
virtual void | removeListener (Listener *lis) |
Remove a listener on this resource. More... | |
void | removeLodLevels (void) |
Removes all LOD data from this Mesh. More... | |
void | removePose (ushort index) |
Destroy a pose by index. More... | |
void | removePose (const String &name) |
Destroy a pose by name. More... | |
void | setAutoBuildEdgeLists (bool autobuild) |
Sets whether or not this Mesh should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided. More... | |
virtual void | setBackgroundLoaded (bool bl) |
Tells the resource whether it is background loaded or not. More... | |
void | setIndexBufferPolicy (HardwareBuffer::Usage usage, bool shadowBuffer=false) |
Sets the policy for the index buffers to be used when loading this Mesh. More... | |
void | setLodStrategy (LodStrategy *lodStrategy) |
Set the LOD strategy used by this mesh. More... | |
virtual bool | setParameter (const String &name, const String &value) |
Generic parameter setting method. More... | |
virtual void | setParameterList (const NameValuePairList ¶mList) |
Generic multiple parameter setting method. More... | |
void | setSkeletonName (const String &skelName) |
Sets the name of the skeleton this Mesh uses for animation. More... | |
void | setVertexBufferPolicy (HardwareBuffer::Usage usage, bool shadowBuffer=false) |
Sets the policy for the vertex buffers to be used when loading this Mesh. More... | |
bool | suggestTangentVectorBuildParams (VertexElementSemantic targetSemantic, unsigned short &outSourceCoordSet, unsigned short &outIndex) |
Ask the mesh to suggest parameters to a future buildTangentVectors call, should you wish to use texture coordinates to store the tangents. More... | |
virtual void | touch (void) |
'Touches' the resource to indicate it has been used. More... | |
virtual void | unload (void) |
Unloads the resource; this is not permanent, the resource can be reloaded later if required. More... | |
void | unnameSubMesh (const String &name) |
Removes a name from a SubMesh. More... | |
void | updateManualLodLevel (ushort index, const String &meshName) |
Changes the alternate mesh to use as a manual LOD at the given index. More... | |
void | updateMaterialForAllSubMeshes (void) |
Iterates through all submeshes and requests them to apply their texture aliases to the material they use. More... | |
Static Public Member Functions | |
static void | cleanupDictionary () |
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g. More... | |
static void | prepareMatricesForVertexBlend (const Matrix4 **blendMatrices, const Matrix4 *boneMatrices, const IndexMap &indexMap) |
Prepare matrices for software indexed vertex blend. More... | |
static void | softwareVertexBlend (const VertexData *sourceVertexData, const VertexData *targetVertexData, const Matrix4 *const *blendMatrices, size_t numMatrices, bool blendNormals) |
Performs a software indexed vertex blend, of the kind used for skeletal animation although it can be used for other purposes. More... | |
static void | softwareVertexMorph (Real t, const HardwareVertexBufferSharedPtr &b1, const HardwareVertexBufferSharedPtr &b2, VertexData *targetVertexData) |
Performs a software vertex morph, of the kind used for morph animation although it can be used for other purposes. More... | |
static void | softwareVertexPoseBlend (Real weight, const map< size_t, Vector3 >::type &vertexOffsetMap, const map< size_t, Vector3 >::type &normalsMap, VertexData *targetVertexData) |
Performs a software vertex pose blend, of the kind used for morph animation although it can be used for other purposes. More... | |
Public Attributes | |
OGRE_AUTO_MUTEX | |
IndexMap | sharedBlendIndexToBoneIndexMap |
Shared index map for translating blend index to bone index. More... | |
VertexData * | sharedVertexData |
Shared vertex data. More... | |
Protected Types | |
typedef map< String, Animation * > ::type | AnimationList |
Storage of morph animations, lookup by name. More... | |
typedef set< Listener * >::type | ListenerList |
Protected Member Functions | |
void | buildIndexMap (const VertexBoneAssignmentList &boneAssignments, IndexMap &boneIndexToBlendIndexMap, IndexMap &blendIndexToBoneIndexMap) |
Build the index map between bone index and blend index. More... | |
size_t | calculateSize (void) const |
Calculate the size of a resource; this will only be called after 'load'. More... | |
void | compileBoneAssignments (const VertexBoneAssignmentList &boneAssignments, unsigned short numBlendWeightsPerVertex, IndexMap &blendIndexToBoneIndexMap, VertexData *targetVertexData) |
Compile bone assignments into blend index and weight buffers. More... | |
bool | createParamDictionary (const String &className) |
Internal method for creating a parameter dictionary for the class, if it does not already exist. More... | |
void | loadImpl (void) |
Internal implementation of the meat of the 'load' action, only called if this resource is not being loaded from a ManualResourceLoader. More... | |
void | mergeAdjacentTexcoords (unsigned short finalTexCoordSet, unsigned short texCoordSetToDestroy, VertexData *vertexData) |
OGRE_MUTEX (mListenerListMutex) | |
void | organiseTangentsBuffer (VertexData *vertexData, VertexElementSemantic targetSemantic, unsigned short index, unsigned short sourceTexCoordSet) |
Internal method for making the space for a vertex element to hold tangents. More... | |
void | postLoadImpl (void) |
Internal hook to perform actions after the load process, but before the resource has been marked as fully loaded. More... | |
virtual void | postUnloadImpl (void) |
Internal hook to perform actions after the unload process, but before the resource has been marked as fully unloaded. More... | |
virtual void | preLoadImpl (void) |
Internal hook to perform actions before the load process, but after the resource has been marked as 'loading'. More... | |
void | prepareImpl (void) |
Loads the mesh from disk. More... | |
virtual void | preUnloadImpl (void) |
Internal hook to perform actions before the unload process. More... | |
void | unloadImpl (void) |
Internal implementation of the 'unload' action; called regardless of whether this resource is being loaded from a ManualResourceLoader. More... | |
void | unprepareImpl (void) |
Destroys data cached by prepareImpl. More... | |
Protected Attributes | |
AxisAlignedBox | mAABB |
Local bounding box volume. More... | |
AnimationList | mAnimationsList |
bool | mAnimationTypesDirty |
Do we need to scan animations for animation types? More... | |
bool | mAutoBuildEdgeLists |
VertexBoneAssignmentList | mBoneAssignments |
bool | mBoneAssignmentsOutOfDate |
Flag indicating that bone assignments need to be recompiled. More... | |
Real | mBoundRadius |
Local bounding sphere radius (centered on object). More... | |
ResourceManager * | mCreator |
Creator. More... | |
bool | mEdgeListsBuilt |
DataStreamPtr | mFreshFromDisk |
String | mGroup |
The name of the resource group. More... | |
ResourceHandle | mHandle |
Numeric handle for more efficient look up than name. More... | |
bool | mIndexBufferShadowBuffer |
HardwareBuffer::Usage | mIndexBufferUsage |
volatile bool | mIsBackgroundLoaded |
Is this resource going to be background loaded? Only applicable for multithreaded. More... | |
bool | mIsLodManual |
bool | mIsManual |
Is this file manually loaded? More... | |
ListenerList | mListenerList |
ManualResourceLoader * | mLoader |
Optional manual loader; if provided, data is loaded from here instead of a file. More... | |
AtomicScalar< LoadingState > | mLoadingState |
Is the resource currently loaded? More... | |
const LodStrategy * | mLodStrategy |
MeshLodUsageList | mMeshLodUsageList |
String | mName |
Unique name of the resource. More... | |
ushort | mNumLods |
String | mOrigin |
Origin of this resource (e.g. script name) - optional. More... | |
PoseList | mPoseList |
List of available poses for shared and dedicated geometryPoseList. More... | |
bool | mPosesIncludeNormals |
bool | mPreparedForShadowVolumes |
bool | mSharedVertexDataAnimationIncludesNormals |
Whether vertex animation includes normals. More... | |
VertexAnimationType | mSharedVertexDataAnimationType |
The vertex animation type associated with the shared vertex data. More... | |
size_t | mSize |
The size of the resource in bytes. More... | |
SkeletonPtr | mSkeleton |
String | mSkeletonName |
Optional linked skeleton. More... | |
size_t | mStateCount |
State count, the number of times this resource has changed state. More... | |
SubMeshList | mSubMeshList |
A list of submeshes which make up this mesh. More... | |
SubMeshNameMap | mSubMeshNameMap |
bool | mVertexBufferShadowBuffer |
HardwareBuffer::Usage | mVertexBufferUsage |
Friends | |
class | MeshSerializerImpl |
class | MeshSerializerImpl_v1_1 |
class | MeshSerializerImpl_v1_2 |
class | MeshSerializerImpl_v1_4 |
class | SubMesh |
Resource holding data about 3D mesh.
Definition at line 93 of file OgreMesh.h.
|
protected |
Storage of morph animations, lookup by name.
Definition at line 177 of file OgreMesh.h.
Definition at line 106 of file OgreMesh.h.
Definition at line 929 of file OgreMesh.h.
typedef vector<unsigned short>::type Ogre::Mesh::IndexMap |
Definition at line 108 of file OgreMesh.h.
|
protectedinherited |
Definition at line 166 of file OgreResource.h.
typedef vector<Real>::type Ogre::Mesh::LodValueList |
Definition at line 102 of file OgreMesh.h.
typedef vector<MeshLodUsage>::type Ogre::Mesh::MeshLodUsageList |
Definition at line 103 of file OgreMesh.h.
Definition at line 928 of file OgreMesh.h.
Definition at line 280 of file OgreMesh.h.
typedef vector<SubMesh*>::type Ogre::Mesh::SubMeshList |
Definition at line 107 of file OgreMesh.h.
typedef HashMap<String, ushort> Ogre::Mesh::SubMeshNameMap |
A hashmap used to store optional SubMesh names.
Translates a name into SubMesh index.
Definition at line 128 of file OgreMesh.h.
typedef multimap<size_t, VertexBoneAssignment>::type Ogre::Mesh::VertexBoneAssignmentList |
Multimap of vertex bone assignments (orders by vertex index).
Definition at line 105 of file OgreMesh.h.
|
inherited |
Enum identifying the loading state of the resource.
Definition at line 127 of file OgreResource.h.
Ogre::Mesh::Mesh | ( | ResourceManager * | creator, |
const String & | name, | ||
ResourceHandle | handle, | ||
const String & | group, | ||
bool | isManual = false , |
||
ManualResourceLoader * | loader = 0 |
||
) |
Default constructor - used by MeshManager.
Ogre::Mesh::~Mesh | ( | ) |
void Ogre::Mesh::_compileBoneAssignments | ( | void | ) |
Internal method, be called once to compile bone assignments into geometry buffer.
void Ogre::Mesh::_configureMeshLodUsage | ( | const LodConfig & | lodConfig | ) |
void Ogre::Mesh::_determineAnimationTypes | ( | void | ) | const |
Internal method which, if animation types have not been determined, scans any vertex animations and determines the type for each set of vertex data (cannot have 2 different types).
|
virtualinherited |
Manually mark the state of this resource as having been changed.
|
virtualinherited |
Firing of loading complete event.
wasBackgroundLoaded | Whether this was a background loaded event |
|
virtualinherited |
Firing of preparing complete event.
wasBackgroundLoaded | Whether this was a background loaded event |
|
virtualinherited |
Firing of unloading complete event.
Internal access to the named vertex Animation object - returns null if it does not exist.
name | The name of the animation. |
|
inline |
Are the derived animation types out of date?
Definition at line 897 of file OgreMesh.h.
Gets the index of a submesh with a given name.
void Ogre::Mesh::_initAnimationState | ( | AnimationStateSet * | animSet | ) |
Initialise an animation set suitable for use with this mesh.
|
inlinevirtualinherited |
Notify this resource of it's origin.
Definition at line 420 of file OgreResource.h.
void Ogre::Mesh::_notifySkeleton | ( | SkeletonPtr & | pSkel | ) |
unsigned short Ogre::Mesh::_rationaliseBoneAssignments | ( | size_t | vertexCount, |
VertexBoneAssignmentList & | assignments | ||
) |
Rationalises the passed in bone assignment list.
vertexCount | The number of vertices. |
assignments | The bone assignment list to rationalise. This list will be modified and entries will be removed where the limits are exceeded. |
void Ogre::Mesh::_refreshAnimationState | ( | AnimationStateSet * | animSet | ) |
Refresh an animation set suitable for use with this mesh.
void Ogre::Mesh::_setBoundingSphereRadius | ( | Real | radius | ) |
Manually set the bounding radius.
void Ogre::Mesh::_setBounds | ( | const AxisAlignedBox & | bounds, |
bool | pad = true |
||
) |
Manually set the bounding box for this Mesh.
pad | If true, a certain padding will be added to the bounding box to separate it from the mesh |
void Ogre::Mesh::_setLodInfo | ( | unsigned short | numLevels, |
bool | isManual | ||
) |
Internal methods for loading LOD, do not use.
void Ogre::Mesh::_setLodUsage | ( | unsigned short | level, |
MeshLodUsage & | usage | ||
) |
Internal methods for loading LOD, do not use.
void Ogre::Mesh::_setSubMeshLodFaceList | ( | unsigned short | subIdx, |
unsigned short | level, | ||
IndexData * | facedata | ||
) |
Internal methods for loading LOD, do not use.
void Ogre::Mesh::_updateCompiledBoneAssignments | ( | void | ) |
Internal method, be called once to update the compiled bone assignments.
void Ogre::Mesh::addBoneAssignment | ( | const VertexBoneAssignment & | vertBoneAssign | ) |
Assigns a vertex to a bone with a given weight, for skeletal animation.
|
virtualinherited |
Register a listener on this resource.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
void Ogre::Mesh::buildEdgeList | ( | void | ) |
Builds an edge list for this mesh, which can be used for generating a shadow volume among other things.
|
protected |
Build the index map between bone index and blend index.
void Ogre::Mesh::buildTangentVectors | ( | VertexElementSemantic | targetSemantic = VES_TANGENT , |
unsigned short | sourceTexCoordSet = 0 , |
||
unsigned short | index = 0 , |
||
bool | splitMirrored = false , |
||
bool | splitRotated = false , |
||
bool | storeParityInW = false |
||
) |
This method builds a set of tangent vectors for a given mesh into a 3D texture coordinate buffer.
targetSemantic | The semantic to store the tangents in. Defaults to the explicit tangent binding, but note that this is only usable on more modern hardware (Shader Model 2), so if you need portability with older cards you should change this to a texture coordinate binding instead. |
sourceTexCoordSet | The texture coordinate index which should be used as the source of 2D texture coordinates, with which to calculate the tangents. |
index | The element index, ie the texture coordinate set which should be used to store the 3D coordinates representing a tangent vector per vertex, if targetSemantic is VES_TEXTURE_COORDINATES. If this already exists, it will be overwritten. |
splitMirrored | Sets whether or not to split vertices when a mirrored tangent space transition is detected (matrix parity differs). |
splitRotated | Sets whether or not to split vertices when a rotated tangent space is detected. |
storeParityInW | If true , store tangents as a 4-vector and include parity in w. |
|
protectedvirtual |
Calculate the size of a resource; this will only be called after 'load'.
Reimplemented from Ogre::Resource.
|
virtualinherited |
Change the resource group ownership of a Resource.
newGroup | Name of the new group |
|
staticinherited |
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g.
MaterialManager) initializes.
void Ogre::Mesh::clearBoneAssignments | ( | void | ) |
MeshPtr Ogre::Mesh::clone | ( | const String & | newName, |
const String & | newGroup = StringUtil::BLANK |
||
) |
Makes a copy of this mesh object and gives it a new name.
newName | The name to give the clone. |
newGroup | Optional name of the new group to assign the clone to; if you leave this blank, the clone will be assigned to the same group as this Mesh. |
|
protected |
Compile bone assignments into blend index and weight buffers.
|
inlinevirtualinherited |
Method for copying this object's parameters to another object.
dest | Pointer to object to have it's parameters set the same as this object. |
Definition at line 303 of file OgreStringInterface.h.
References Ogre::ParamDictionary::mParamDefs, and Ogre::StringInterface::setParameter().
Creates a new Animation object for vertex animating this mesh.
name | The name of this animation. |
length | The length of the animation in seconds. |
Implements Ogre::AnimationContainer.
void Ogre::Mesh::createManualLodLevel | ( | Real | value, |
const String & | meshName, | ||
const String & | groupName = Ogre::String() |
||
) |
Adds a new manual level-of-detail entry to this Mesh.
value | The value from which this LOD will apply. |
meshName | The name of the mesh which will be the lower level detail version. |
|
inlineprotectedinherited |
Internal method for creating a parameter dictionary for the class, if it does not already exist.
className | the name of the class using the dictionary |
Definition at line 186 of file OgreStringInterface.h.
References OGRE_LOCK_MUTEX.
Pose* Ogre::Mesh::createPose | ( | ushort | target, |
const String & | name = StringUtil::BLANK |
||
) |
SubMesh* Ogre::Mesh::createSubMesh | ( | void | ) |
Creates a new SubMesh.
Creates a new SubMesh and gives it a name.
void Ogre::Mesh::destroySubMesh | ( | unsigned short | index | ) |
void Ogre::Mesh::destroySubMesh | ( | const String & | name | ) |
|
virtualinherited |
Escalates the loading of a background loaded resource.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
void Ogre::Mesh::freeEdgeList | ( | void | ) |
Destroys and frees the edge lists this mesh has built.
Returns the named vertex Animation object.
name | The name of the animation. |
Implements Ogre::AnimationContainer.
|
virtual |
Gets a single morph animation by index.
Implements Ogre::AnimationContainer.
|
inline |
Sets whether or not this Mesh should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided.
Definition at line 827 of file OgreMesh.h.
BoneAssignmentIterator Ogre::Mesh::getBoneAssignmentIterator | ( | void | ) |
Gets an iterator for access all bone assignments.
|
inline |
Gets a const reference to the list of bone assignments.
Definition at line 431 of file OgreMesh.h.
Real Ogre::Mesh::getBoundingSphereRadius | ( | void | ) | const |
Gets the radius of the bounding sphere surrounding this mesh.
const AxisAlignedBox& Ogre::Mesh::getBounds | ( | void | ) | const |
Get the axis-aligned bounding box for this mesh.
|
inlinevirtualinherited |
Gets the manager which created this resource.
Definition at line 411 of file OgreResource.h.
EdgeData* Ogre::Mesh::getEdgeList | ( | unsigned short | lodIndex = 0 | ) |
Return the edge list for this mesh, building it if required.
lodIndex | The LOD at which to get the edge list, 0 being the highest. |
const EdgeData* Ogre::Mesh::getEdgeList | ( | unsigned short | lodIndex = 0 | ) | const |
Return the edge list for this mesh, building it if required.
lodIndex | The LOD at which to get the edge list, 0 being the highest. |
|
inlinevirtualinherited |
Gets the group which this resource is a member of.
Definition at line 399 of file OgreResource.h.
|
inlinevirtualinherited |
Reimplemented in Ogre::SkeletonInstance.
Definition at line 317 of file OgreResource.h.
|
inline |
Gets the usage setting for this meshes index buffers.
Definition at line 548 of file OgreMesh.h.
|
inlinevirtualinherited |
Returns the current loading state.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 348 of file OgreResource.h.
Retrieves the level of detail index for the given LOD value.
const MeshLodUsage& Ogre::Mesh::getLodLevel | ( | ushort | index | ) | const |
Gets details of the numbered level of detail entry.
const LodStrategy* Ogre::Mesh::getLodStrategy | ( | ) | const |
Get LOD strategy used by this mesh.
|
inlinevirtualinherited |
Gets resource name.
Reimplemented in Ogre::SkeletonInstance.
Definition at line 312 of file OgreResource.h.
|
virtual |
Gets the number of morph animations in this mesh.
Implements Ogre::AnimationContainer.
ushort Ogre::Mesh::getNumLodLevels | ( | void | ) | const |
Returns the number of levels of detail that this mesh supports.
unsigned short Ogre::Mesh::getNumSubMeshes | ( | void | ) | const |
Gets the number of sub meshes which comprise this mesh.
|
inlinevirtualinherited |
Get the origin of this resource, e.g.
a script file name.
Definition at line 418 of file OgreResource.h.
|
inlineinherited |
Retrieves the parameter dictionary for this class.
Definition at line 219 of file OgreStringInterface.h.
|
inlineinherited |
Definition at line 224 of file OgreStringInterface.h.
|
inlinevirtualinherited |
Generic parameter retrieval method.
name | The name of the parameter to get |
Definition at line 272 of file OgreStringInterface.h.
References Ogre::ParamCommand::doGet(), and Ogre::ParamDictionary::getParamCommand().
|
inherited |
Retrieves a list of parameters valid for this object.
|
inline |
Get the number of poses.
Definition at line 910 of file OgreMesh.h.
PoseIterator Ogre::Mesh::getPoseIterator | ( | void | ) |
Get an iterator over all the poses defined.
ConstPoseIterator Ogre::Mesh::getPoseIterator | ( | void | ) | const |
Get an iterator over all the poses defined.
const PoseList& Ogre::Mesh::getPoseList | ( | void | ) | const |
Get pose list.
|
inline |
Returns whether animation on shared vertex data includes normals.
Definition at line 834 of file OgreMesh.h.
|
virtual |
Gets the type of vertex animation the shared vertex data of this mesh supports.
|
inlinevirtualinherited |
Retrieves info about the size of the resource.
Reimplemented in Ogre::CgProgram, and Ogre::UnifiedHighLevelGpuProgram.
Definition at line 301 of file OgreResource.h.
const SkeletonPtr& Ogre::Mesh::getSkeleton | ( | void | ) | const |
Gets a pointer to any linked Skeleton.
|
inlinevirtualinherited |
Returns the number of times this resource has changed state, which generally means the number of times it has been loaded.
Objects that build derived data based on the resource can check this value against a copy they kept last time they built this derived data, in order to know whether it needs rebuilding. This is a nice way of monitoring changes without having a tightly-bound callback.
Definition at line 429 of file OgreResource.h.
SubMesh* Ogre::Mesh::getSubMesh | ( | unsigned short | index | ) | const |
Gets a pointer to the submesh indicated by the index.
|
inline |
Gets an iterator over the available submeshes.
Definition at line 282 of file OgreMesh.h.
|
inline |
Gets a reference to the optional name assignments of the SubMeshes.
Definition at line 810 of file OgreMesh.h.
|
inline |
Gets the usage setting for this meshes vertex buffers.
Definition at line 546 of file OgreMesh.h.
VertexData* Ogre::Mesh::getVertexDataByTrackHandle | ( | unsigned short | handle | ) |
Gets a pointer to a vertex data element based on a morph animation track handle.
|
virtual |
Returns whether this mesh contains the named vertex animation.
Implements Ogre::AnimationContainer.
bool Ogre::Mesh::hasVertexAnimation | ( | void | ) | const |
Returns whether or not this mesh has some kind of vertex animation.
|
inlinevirtualinherited |
Returns whether this Resource has been earmarked for background loading.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 365 of file OgreResource.h.
|
inline |
Returns whether this mesh has an attached edge list.
Definition at line 718 of file OgreMesh.h.
|
inline |
Gets whether or not this meshes index buffers are shadowed.
Definition at line 552 of file OgreMesh.h.
|
inlinevirtualinherited |
Returns true if the Resource has been loaded, false otherwise.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 332 of file OgreResource.h.
|
inlinevirtualinherited |
Returns whether the resource is currently in the process of background loading.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 341 of file OgreResource.h.
|
inline |
Returns true if this mesh is using manual LOD.
Definition at line 483 of file OgreMesh.h.
|
inlinevirtualinherited |
Is this resource manually loaded?
Definition at line 289 of file OgreResource.h.
|
inlinevirtualinherited |
Returns true if the Resource has been prepared, false otherwise.
Definition at line 324 of file OgreResource.h.
|
inline |
Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes.
Definition at line 715 of file OgreMesh.h.
|
inlinevirtualinherited |
Returns true if the Resource is reloadable, false otherwise.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 282 of file OgreResource.h.
|
inline |
Gets whether or not this meshes vertex buffers are shadowed.
Definition at line 550 of file OgreMesh.h.
|
virtualinherited |
Loads the resource, if it is not already.
backgroundThread | Indicates whether the caller of this method is the background resource loading thread. |
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
|
protectedvirtual |
Internal implementation of the meat of the 'load' action, only called if this resource is not being loaded from a ManualResourceLoader.
Implements Ogre::Resource.
Reimplemented in Ogre::PatchMesh.
|
protected |
void Ogre::Mesh::mergeAdjacentTexcoords | ( | unsigned short | finalTexCoordSet, |
unsigned short | texCoordSetToDestroy | ||
) |
This method collapses two texcoords into one for all submeshes where this is possible.
finalTexCoordSet & texCoordSetToDestroy must be in the same buffer source, and must be adjacent.
finalTexCoordSet | The tex. coord index to merge to. Should have enough space to actually work. |
texCoordSetToDestroy | The texture coordinate index that will disappear on successful merges. |
|
protectedinherited |
|
inlineinherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
protected |
Internal method for making the space for a vertex element to hold tangents.
|
protectedvirtual |
Internal hook to perform actions after the load process, but before the resource has been marked as fully loaded.
Reimplemented from Ogre::Resource.
|
inlineprotectedvirtualinherited |
Internal hook to perform actions after the unload process, but before the resource has been marked as fully unloaded.
Definition at line 201 of file OgreResource.h.
|
inlineprotectedvirtualinherited |
Internal hook to perform actions before the load process, but after the resource has been marked as 'loading'.
Definition at line 184 of file OgreResource.h.
|
virtualinherited |
Prepares the resource for load, if it is not already.
One can call prepare() before load(), but this is not required as load() will call prepare() itself, if needed. When OGRE_THREAD_SUPPORT==1 both load() and prepare() are thread-safe. When OGRE_THREAD_SUPPORT==2 however, only prepare() is thread-safe. The reason for this function is to allow a background thread to do some of the loading work, without requiring the whole render system to be thread-safe. The background thread would call prepare() while the main render loop would later call load(). So long as prepare() remains thread-safe, subclasses can arbitrarily split the work of loading a resource between load() and prepare(). It is best to try and do as much work in prepare(), however, since this will leave less work for the main render thread to do and thus increase FPS.
backgroundThread | Whether this is occurring in a background thread |
void Ogre::Mesh::prepareForShadowVolume | ( | void | ) |
This method prepares the mesh for generating a renderable shadow volume.
|
protectedvirtual |
Loads the mesh from disk.
This call only performs IO, it does not parse the bytestream or check for any errors therein. It also does not set up submeshes, etc. You have to call load() to do that.
Reimplemented from Ogre::Resource.
Reimplemented in Ogre::PatchMesh.
|
static |
Prepare matrices for software indexed vertex blend.
blendMatrices | Pointer to an array of matrix pointers to store prepared results, which indexed by blend index. |
boneMatrices | Pointer to an array of matrices to be used to blend, which indexed by bone index. |
indexMap | The index map used to translate blend index to bone index. |
|
inlineprotectedvirtualinherited |
Internal hook to perform actions before the unload process.
Definition at line 196 of file OgreResource.h.
|
virtualinherited |
Reloads the resource, if it is already loaded.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
|
virtual |
Removes all morph Animations from this mesh.
void Ogre::Mesh::removeAllPoses | ( | void | ) |
Destroy all poses.
|
virtual |
Removes vertex Animation from this mesh.
Implements Ogre::AnimationContainer.
|
virtualinherited |
Remove a listener on this resource.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
void Ogre::Mesh::removeLodLevels | ( | void | ) |
Removes all LOD data from this Mesh.
void Ogre::Mesh::removePose | ( | ushort | index | ) |
Destroy a pose by index.
void Ogre::Mesh::removePose | ( | const String & | name | ) |
Destroy a pose by name.
|
inline |
Sets whether or not this Mesh should automatically build edge lists when asked for them, or whether it should never build them if they are not already provided.
Definition at line 822 of file OgreMesh.h.
|
inlinevirtualinherited |
Tells the resource whether it is background loaded or not.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 375 of file OgreResource.h.
void Ogre::Mesh::setIndexBufferPolicy | ( | HardwareBuffer::Usage | usage, |
bool | shadowBuffer = false |
||
) |
Sets the policy for the index buffers to be used when loading this Mesh.
usage | The usage flags, which by default are HardwareBuffer::HBU_STATIC_WRITE_ONLY |
shadowBuffer | If set to true , the index buffers will be created with a system memory shadow buffer. You should set this if you want to be able to read from the buffer, because reading from a hardware buffer is a no-no. |
void Ogre::Mesh::setLodStrategy | ( | LodStrategy * | lodStrategy | ) |
Set the LOD strategy used by this mesh.
|
virtualinherited |
Generic parameter setting method.
name | The name of the parameter to set |
value | String value. Must be in the right format for the type specified in the parameter definition. See the StringConverter class for more information. |
Referenced by Ogre::StringInterface::copyParametersTo().
|
virtualinherited |
Generic multiple parameter setting method.
paramList | Name/value pair list |
void Ogre::Mesh::setSkeletonName | ( | const String & | skelName | ) |
Sets the name of the skeleton this Mesh uses for animation.
skelName | The name of the .skeleton file to use, or an empty string to use no skeleton |
void Ogre::Mesh::setVertexBufferPolicy | ( | HardwareBuffer::Usage | usage, |
bool | shadowBuffer = false |
||
) |
Sets the policy for the vertex buffers to be used when loading this Mesh.
usage | The usage flags, which by default are HardwareBuffer::HBU_STATIC_WRITE_ONLY |
shadowBuffer | If set to true , the vertex buffers will be created with a system memory shadow buffer. You should set this if you want to be able to read from the buffer, because reading from a hardware buffer is a no-no. |
|
static |
Performs a software indexed vertex blend, of the kind used for skeletal animation although it can be used for other purposes.
sourceVertexData | VertexData class containing positions, normals, blend indices and blend weights. |
targetVertexData | VertexData class containing target position and normal buffers which will be updated with the blended versions. Note that the layout of the source and target position / normal buffers must be identical, ie they must use the same buffer indexes |
blendMatrices | Pointer to an array of matrix pointers to be used to blend, indexed by blend indices in the sourceVertexData |
numMatrices | Number of matrices in the blendMatrices, it might be used as a hint for optimisation. |
blendNormals | If true , normals are blended as well as positions. |
|
static |
Performs a software vertex morph, of the kind used for morph animation although it can be used for other purposes.
t | Parametric distance between the start and end buffer positions. |
b1 | Vertex buffer containing VET_FLOAT3 entries for the start positions. |
b2 | Vertex buffer containing VET_FLOAT3 entries for the end positions. |
targetVertexData | VertexData destination; assumed to have a separate position buffer already bound, and the number of vertices must agree with the number in start and end |
|
static |
Performs a software vertex pose blend, of the kind used for morph animation although it can be used for other purposes.
weight | Parametric weight to scale the offsets by. |
vertexOffsetMap | Potentially sparse map of vertex index -> offset. |
normalsMap | Potentially sparse map of vertex index -> normal. |
targetVertexData | VertexData destination; assumed to have a separate position buffer already bound, and the number of vertices must agree with the number in start and end. |
bool Ogre::Mesh::suggestTangentVectorBuildParams | ( | VertexElementSemantic | targetSemantic, |
unsigned short & | outSourceCoordSet, | ||
unsigned short & | outIndex | ||
) |
Ask the mesh to suggest parameters to a future buildTangentVectors call, should you wish to use texture coordinates to store the tangents.
targetSemantic | The semantic you intend to use to store the tangents if they are not already present; most likely options are VES_TEXTURE_COORDINATES or VES_TANGENT; you should use texture coordinates if you want compatibility with older, pre-SM2 graphics cards, and the tangent binding otherwise. |
outSourceCoordSet | Reference to a source texture coordinate set which will be populated. |
outIndex | Reference to a destination element index (e.g. texture coord set) which will be populated |
|
virtualinherited |
'Touches' the resource to indicate it has been used.
Reimplemented in Ogre::Material, Ogre::CgProgram, and Ogre::UnifiedHighLevelGpuProgram.
Referenced by Ogre::Material::touch().
|
virtualinherited |
Unloads the resource; this is not permanent, the resource can be reloaded later if required.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
|
protectedvirtual |
Internal implementation of the 'unload' action; called regardless of whether this resource is being loaded from a ManualResourceLoader.
Implements Ogre::Resource.
|
protectedvirtual |
Destroys data cached by prepareImpl.
Reimplemented from Ogre::Resource.
Changes the alternate mesh to use as a manual LOD at the given index.
index | The index of the level to be changed. |
meshName | The name of the mesh which will be the lower level detail version. |
void Ogre::Mesh::updateMaterialForAllSubMeshes | ( | void | ) |
Iterates through all submeshes and requests them to apply their texture aliases to the material they use.
|
friend |
Definition at line 96 of file OgreMesh.h.
|
friend |
Definition at line 99 of file OgreMesh.h.
|
friend |
Definition at line 98 of file OgreMesh.h.
|
friend |
Definition at line 97 of file OgreMesh.h.
|
friend |
Definition at line 95 of file OgreMesh.h.
|
protected |
Local bounding box volume.
Definition at line 138 of file OgreMesh.h.
|
protected |
Definition at line 178 of file OgreMesh.h.
|
mutableprotected |
Do we need to scan animations for animation types?
Definition at line 184 of file OgreMesh.h.
|
protected |
Definition at line 174 of file OgreMesh.h.
|
protected |
Definition at line 147 of file OgreMesh.h.
|
protected |
Flag indicating that bone assignments need to be recompiled.
Definition at line 150 of file OgreMesh.h.
|
protected |
Local bounding sphere radius (centered on object).
Definition at line 140 of file OgreMesh.h.
|
protectedinherited |
Creator.
Definition at line 144 of file OgreResource.h.
|
protected |
Definition at line 173 of file OgreMesh.h.
|
protected |
Definition at line 133 of file OgreMesh.h.
|
protectedinherited |
The name of the resource group.
Definition at line 148 of file OgreResource.h.
|
protectedinherited |
Numeric handle for more efficient look up than name.
Definition at line 150 of file OgreResource.h.
|
protected |
Definition at line 169 of file OgreMesh.h.
|
protected |
Definition at line 167 of file OgreMesh.h.
|
protectedinherited |
Is this resource going to be background loaded? Only applicable for multithreaded.
Definition at line 154 of file OgreResource.h.
|
protected |
Definition at line 162 of file OgreMesh.h.
|
protectedinherited |
Is this file manually loaded?
Definition at line 158 of file OgreResource.h.
|
protectedinherited |
Definition at line 167 of file OgreResource.h.
|
protectedinherited |
Optional manual loader; if provided, data is loaded from here instead of a file.
Definition at line 162 of file OgreResource.h.
|
protectedinherited |
Is the resource currently loaded?
Definition at line 152 of file OgreResource.h.
|
protected |
Definition at line 161 of file OgreMesh.h.
|
protected |
Definition at line 164 of file OgreMesh.h.
|
protectedinherited |
Unique name of the resource.
Definition at line 146 of file OgreResource.h.
|
protected |
Definition at line 163 of file OgreMesh.h.
|
protectedinherited |
Origin of this resource (e.g. script name) - optional.
Definition at line 160 of file OgreResource.h.
|
protected |
List of available poses for shared and dedicated geometryPoseList.
Definition at line 187 of file OgreMesh.h.
|
mutableprotected |
Definition at line 188 of file OgreMesh.h.
|
protected |
Definition at line 172 of file OgreMesh.h.
|
mutableprotected |
Whether vertex animation includes normals.
Definition at line 182 of file OgreMesh.h.
|
mutableprotected |
The vertex animation type associated with the shared vertex data.
Definition at line 180 of file OgreMesh.h.
|
protectedinherited |
The size of the resource in bytes.
Definition at line 156 of file OgreResource.h.
|
protected |
Definition at line 144 of file OgreMesh.h.
|
protected |
Optional linked skeleton.
Definition at line 143 of file OgreMesh.h.
|
protectedinherited |
State count, the number of times this resource has changed state.
Definition at line 164 of file OgreResource.h.
|
protected |
A list of submeshes which make up this mesh.
Each mesh is made up of 1 or more submeshes, which are each based on a single material and can have their own vertex data (they may not - they can share vertex data from the Mesh, depending on preference).
Definition at line 117 of file OgreMesh.h.
|
protected |
Definition at line 135 of file OgreMesh.h.
|
protected |
Definition at line 168 of file OgreMesh.h.
|
protected |
Definition at line 166 of file OgreMesh.h.
|
inherited |
Definition at line 82 of file OgreResource.h.
IndexMap Ogre::Mesh::sharedBlendIndexToBoneIndexMap |
Shared index map for translating blend index to bone index.
Definition at line 315 of file OgreMesh.h.
VertexData* Ogre::Mesh::sharedVertexData |
Shared vertex data.
Definition at line 293 of file OgreMesh.h.