#include <OgrePatchMesh.h>
Public Types | |
typedef std::vector < Real > | LodDistanceList |
typedef std::multimap < size_t, VertexBoneAssignment > | VertexBoneAssignmentList |
Multimap of vertex bone assignments (orders by vertex index). | |
typedef MapIterator < VertexBoneAssignmentList > | BoneAssignmentIterator |
typedef std::vector < SubMesh * > | SubMeshList |
typedef std::vector < unsigned short > | IndexMap |
typedef HashMap < String, ushort > | SubMeshNameMap |
A hashmap used to store optional SubMesh names. | |
typedef VectorIterator < SubMeshList > | SubMeshIterator |
typedef VectorIterator < PoseList > | PoseIterator |
typedef ConstVectorIterator < PoseList > | ConstPoseIterator |
enum | LoadingState { LOADSTATE_UNLOADED, LOADSTATE_LOADING, LOADSTATE_LOADED, LOADSTATE_UNLOADING } |
Enum identifying the loading state of the resource. More... | |
Public Member Functions | |
PatchMesh (ResourceManager *creator, const String &name, ResourceHandle handle, const String &group) | |
Constructor. | |
void | define (void *controlPointBuffer, VertexDeclaration *declaration, size_t width, size_t height, size_t uMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, size_t vMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, PatchSurface::VisibleSide visibleSide=PatchSurface::VS_FRONT, HardwareBuffer::Usage vbUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage ibUsage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY, bool vbUseShadow=false, bool ibUseShadow=false) |
Define the patch, as defined in MeshManager::createBezierPatch. | |
void | setSubdivision (Real factor) |
SubMesh * | createSubMesh (void) |
Creates a new SubMesh. | |
SubMesh * | createSubMesh (const String &name) |
Creates a new SubMesh and gives it a name. | |
void | nameSubMesh (const String &name, ushort index) |
Gives a name to a SubMesh. | |
ushort | _getSubMeshIndex (const String &name) const |
Gets the index of a submesh with a given name. | |
unsigned short | getNumSubMeshes (void) const |
Gets the number of sub meshes which comprise this mesh. | |
SubMesh * | getSubMesh (unsigned short index) const |
Gets a pointer to the submesh indicated by the index. | |
SubMesh * | getSubMesh (const String &name) const |
Gets a SubMesh by name. | |
SubMeshIterator | getSubMeshIterator (void) |
Gets an iterator over the available submeshes. | |
MeshPtr | clone (const String &newName, const String &newGroup=StringUtil::BLANK) |
Makes a copy of this mesh object and gives it a new name. | |
const AxisAlignedBox & | getBounds (void) const |
Get the axis-aligned bounding box for this mesh. | |
Real | getBoundingSphereRadius (void) const |
Gets the radius of the bounding sphere surrounding this mesh. | |
void | _setBounds (const AxisAlignedBox &bounds, bool pad=true) |
Manually set the bounding box for this Mesh. | |
void | _setBoundingSphereRadius (Real radius) |
Manually set the bounding radius. | |
void | setSkeletonName (const String &skelName) |
Sets the name of the skeleton this Mesh uses for animation. | |
bool | hasSkeleton (void) const |
Returns true if this Mesh has a linked Skeleton. | |
bool | hasVertexAnimation (void) const |
Returns whether or not this mesh has some kind of vertex animation. | |
const SkeletonPtr & | getSkeleton (void) const |
Gets a pointer to any linked Skeleton. | |
const String & | getSkeletonName (void) const |
Gets the name of any linked Skeleton. | |
void | _initAnimationState (AnimationStateSet *animSet) |
Initialise an animation set suitable for use with this mesh. | |
void | _refreshAnimationState (AnimationStateSet *animSet) |
Refresh an animation set suitable for use with this mesh. | |
void | addBoneAssignment (const VertexBoneAssignment &vertBoneAssign) |
Assigns a vertex to a bone with a given weight, for skeletal animation. | |
void | clearBoneAssignments (void) |
Removes all bone assignments for this mesh. | |
void | _notifySkeleton (SkeletonPtr &pSkel) |
Internal notification, used to tell the Mesh which Skeleton to use without loading it. | |
BoneAssignmentIterator | getBoneAssignmentIterator (void) |
Gets an iterator for access all bone assignments. | |
void | generateLodLevels (const LodDistanceList &lodDistances, ProgressiveMesh::VertexReductionQuota reductionMethod, Real reductionValue) |
Automatically generates lower level of detail versions of this mesh for use when a simpler version of the model is acceptable for rendering. | |
ushort | getNumLodLevels (void) const |
Returns the number of levels of detail that this mesh supports. | |
const MeshLodUsage & | getLodLevel (ushort index) const |
Gets details of the numbered level of detail entry. | |
void | createManualLodLevel (Real fromDepth, const String &meshName) |
Adds a new manual level-of-detail entry to this Mesh. | |
void | updateManualLodLevel (ushort index, const String &meshName) |
Changes the alternate mesh to use as a manual LOD at the given index. | |
ushort | getLodIndex (Real depth) const |
Retrieves the level of detail index for the given depth value. | |
ushort | getLodIndexSquaredDepth (Real squaredDepth) const |
Retrieves the level of detail index for the given squared depth value. | |
bool | isLodManual (void) const |
Returns true if this mesh is using manual LOD. | |
void | _setLodInfo (unsigned short numLevels, bool isManual) |
Internal methods for loading LOD, do not use. | |
void | _setLodUsage (unsigned short level, MeshLodUsage &usage) |
Internal methods for loading LOD, do not use. | |
void | _setSubMeshLodFaceList (unsigned short subIdx, unsigned short level, IndexData *facedata) |
Internal methods for loading LOD, do not use. | |
void | removeLodLevels (void) |
Removes all LOD data from this Mesh. | |
void | setVertexBufferPolicy (HardwareBuffer::Usage usage, bool shadowBuffer=false) |
Sets the policy for the vertex buffers to be used when loading this Mesh. | |
void | setIndexBufferPolicy (HardwareBuffer::Usage usage, bool shadowBuffer=false) |
Sets the policy for the index buffers to be used when loading this Mesh. | |
HardwareBuffer::Usage | getVertexBufferUsage (void) const |
Gets the usage setting for this meshes vertex buffers. | |
HardwareBuffer::Usage | getIndexBufferUsage (void) const |
Gets the usage setting for this meshes index buffers. | |
bool | isVertexBufferShadowed (void) const |
Gets whether or not this meshes vertex buffers are shadowed. | |
bool | isIndexBufferShadowed (void) const |
Gets whether or not this meshes index buffers are shadowed. | |
unsigned short | _rationaliseBoneAssignments (size_t vertexCount, VertexBoneAssignmentList &assignments) |
Rationalises the passed in bone assignment list. | |
void | _compileBoneAssignments (void) |
Internal method, be called once to compile bone assignments into geometry buffer. | |
void | _updateCompiledBoneAssignments (void) |
Internal method, be called once to update the compiled bone assignments. | |
void | buildTangentVectors (VertexElementSemantic targetSemantic=VES_TANGENT, unsigned short sourceTexCoordSet=0, unsigned short index=0) |
This method builds a set of tangent vectors for a given mesh into a 3D texture coordinate buffer. | |
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. | |
void | buildEdgeList (void) |
Builds an edge list for this mesh, which can be used for generating a shadow volume among other things. | |
void | freeEdgeList (void) |
Destroys and frees the edge lists this mesh has built. | |
void | prepareForShadowVolume (void) |
This method prepares the mesh for generating a renderable shadow volume. | |
EdgeData * | getEdgeList (unsigned int lodIndex=0) |
Return the edge list for this mesh, building it if required. | |
const EdgeData * | getEdgeList (unsigned int lodIndex=0) const |
Return the edge list for this mesh, building it if required. | |
bool | isPreparedForShadowVolumes (void) const |
Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes. | |
bool | isEdgeListBuilt (void) const |
Returns whether this mesh has an attached edge list. | |
const SubMeshNameMap & | getSubMeshNameMap (void) const |
Gets a reference to the optional name assignments of the SubMeshes. | |
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. | |
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. | |
virtual VertexAnimationType | getSharedVertexDataAnimationType (void) const |
Gets the type of vertex animation the shared vertex data of this mesh supports. | |
virtual Animation * | createAnimation (const String &name, Real length) |
Creates a new Animation object for vertex animating this mesh. | |
virtual Animation * | getAnimation (const String &name) const |
Returns the named vertex Animation object. | |
virtual Animation * | getAnimation (unsigned short index) const |
Gets a single morph animation by index. | |
virtual Animation * | _getAnimationImpl (const String &name) const |
Internal access to the named vertex Animation object - returns null if it does not exist. | |
virtual bool | hasAnimation (const String &name) |
Returns whether this mesh contains the named vertex animation. | |
virtual void | removeAnimation (const String &name) |
Removes vertex Animation from this mesh. | |
virtual unsigned short | getNumAnimations (void) const |
Gets the number of morph animations in this mesh. | |
virtual void | removeAllAnimations (void) |
Removes all morph Animations from this mesh. | |
VertexData * | getVertexDataByTrackHandle (unsigned short handle) |
Gets a pointer to a vertex data element based on a morph animation track handle. | |
void | updateMaterialForAllSubMeshes (void) |
Iterates through all submeshes and requests them to apply their texture aliases to the material they use. | |
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). | |
bool | _getAnimationTypesDirty (void) const |
Are the derived animation types out of date? | |
Pose * | createPose (ushort target, const String &name=StringUtil::BLANK) |
Create a new Pose for this mesh or one of its submeshes. | |
size_t | getPoseCount (void) const |
Get the number of poses. | |
Pose * | getPose (ushort index) |
Retrieve an existing Pose by index. | |
Pose * | getPose (const String &name) |
Retrieve an existing Pose by name. | |
void | removePose (ushort index) |
Destroy a pose by index. | |
void | removePose (const String &name) |
Destroy a pose by name. | |
void | removeAllPoses (void) |
Destroy all poses. | |
PoseIterator | getPoseIterator (void) |
Get an iterator over all the poses defined. | |
ConstPoseIterator | getPoseIterator (void) const |
Get an iterator over all the poses defined. | |
const PoseList & | getPoseList (void) const |
Get pose list. | |
virtual void | load (bool backgroundThread=false) |
Loads the resource, if it is not already. | |
virtual void | reload (void) |
Reloads the resource, if it is already loaded. | |
bool | isReloadable (void) const |
Returns true if the Resource is reloadable, false otherwise. | |
bool | isManuallyLoaded (void) const |
Is this resource manually loaded? | |
virtual void | unload (void) |
Unloads the resource; this is not permanent, the resource can be reloaded later if required. | |
size_t | getSize (void) const |
Retrieves info about the size of the resource. | |
virtual void | touch (void) |
'Touches' the resource to indicate it has been used. | |
const String & | getName (void) const |
Gets resource name. | |
ResourceHandle | getHandle (void) const |
bool | isLoaded (void) const |
Returns true if the Resource has been loaded, false otherwise. | |
LoadingState | isLoading () const |
Returns whether the resource is currently in the process of background loading. | |
LoadingState | getLoadingState () const |
Returns the current loading state. | |
bool | isBackgroundLoaded (void) const |
Returns whether this Resource has been earmarked for background loading. | |
void | setBackgroundLoaded (bool bl) |
Tells the resource whether it is background loaded or not. | |
void | escalateLoading () |
Escalates the loading of a background loaded resource. | |
void | addListener (Listener *lis) |
Register a listener on this resource. | |
void | removeListener (Listener *lis) |
Remove a listener on this resource. | |
const String & | getGroup (void) |
Gets the group which this resource is a member of. | |
void | changeGroupOwnership (const String &newGroup) |
Change the resource group ownership of a Resource. | |
ResourceManager * | getCreator (void) |
Gets the manager which created this resource. | |
const String & | getOrigin (void) const |
Get the origin of this resource, e.g. | |
void | _notifyOrigin (const String &origin) |
Notify this resource of it's origin. | |
virtual void | _fireBackgroundLoadingComplete (void) |
Firing of background loading complete event. | |
ParamDictionary * | getParamDictionary (void) |
Retrieves the parameter dictionary for this class. | |
const ParamDictionary * | getParamDictionary (void) const |
const ParameterList & | getParameters (void) const |
Retrieves a list of parameters valid for this object. | |
virtual bool | setParameter (const String &name, const String &value) |
Generic parameter setting method. | |
virtual void | setParameterList (const NameValuePairList ¶mList) |
Generic multiple parameter setting method. | |
virtual String | getParameter (const String &name) const |
Generic parameter retrieval method. | |
virtual void | copyParametersTo (StringInterface *dest) const |
Method for copying this object's parameters to another object. | |
Static Public Member Functions | |
static void | prepareMatricesForVertexBlend (const Matrix4 **blendMatrices, const Matrix4 *boneMatrices, const IndexMap &indexMap) |
Prepare matrices for software indexed vertex blend. | |
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. | |
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. | |
static void | softwareVertexPoseBlend (Real weight, const std::map< size_t, Vector3 > &vertexOffsetMap, VertexData *targetVertexData) |
Performs a software vertex pose blend, of the kind used for morph animation although it can be used for other purposes. | |
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. | |
Public Attributes | |
VertexData * | sharedVertexData |
Shared vertex data. | |
IndexMap | sharedBlendIndexToBoneIndexMap |
Shared index map for translating blend index to bone index. | |
Protected Types | |
typedef std::vector < MeshLodUsage > | MeshLodUsageList |
typedef std::map < String, Animation * > | AnimationList |
Storage of morph animations, lookup by name. | |
typedef std::list < Listener * > | ListenerList |
Protected Member Functions | |
void | loadImpl (void) |
Overridden from Resource. | |
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. | |
void | buildIndexMap (const VertexBoneAssignmentList &boneAssignments, IndexMap &boneIndexToBlendIndexMap, IndexMap &blendIndexToBoneIndexMap) |
Build the index map between bone index and blend index. | |
void | compileBoneAssignments (const VertexBoneAssignmentList &boneAssignments, unsigned short numBlendWeightsPerVertex, IndexMap &blendIndexToBoneIndexMap, VertexData *targetVertexData) |
Compile bone assignments into blend index and weight buffers. | |
void | postLoadImpl (void) |
Internal hook to perform actions after the load process, but before the resource has been marked as fully loaded.
| |
void | unloadImpl (void) |
Internal implementation of the 'unload' action; called regardless of whether this resource is being loaded from a ManualResourceLoader. | |
size_t | calculateSize (void) const |
Calculate the size of a resource; this will only be called after 'load'. | |
virtual void | preLoadImpl (void) |
Internal hook to perform actions before the load process, but after the resource has been marked as 'loading'. | |
virtual void | preUnloadImpl (void) |
Internal hook to perform actions before the unload process. | |
virtual void | postUnloadImpl (void) |
Internal hook to perform actions after the unload process, but before the resource has been marked as fully unloaded. | |
virtual void | queueFireBackgroundLoadingComplete (void) |
Queue the firing of background loading complete event. | |
bool | createParamDictionary (const String &className) |
Internal method for creating a parameter dictionary for the class, if it does not already exist. | |
Protected Attributes | |
PatchSurface | mSurface |
Internal surface definition. | |
VertexDeclaration * | mDeclaration |
Vertex declaration, cloned from the input. | |
SubMeshList | mSubMeshList |
A list of submeshes which make up this mesh. | |
SubMeshNameMap | mSubMeshNameMap |
AxisAlignedBox | mAABB |
Local bounding box volume. | |
Real | mBoundRadius |
Local bounding sphere radius (centered on object). | |
String | mSkeletonName |
Optional linked skeleton. | |
SkeletonPtr | mSkeleton |
VertexBoneAssignmentList | mBoneAssignments |
bool | mBoneAssignmentsOutOfDate |
Flag indicating that bone assignments need to be recompiled. | |
bool | mIsLodManual |
ushort | mNumLods |
MeshLodUsageList | mMeshLodUsageList |
HardwareBuffer::Usage | mVertexBufferUsage |
HardwareBuffer::Usage | mIndexBufferUsage |
bool | mVertexBufferShadowBuffer |
bool | mIndexBufferShadowBuffer |
bool | mPreparedForShadowVolumes |
bool | mEdgeListsBuilt |
bool | mAutoBuildEdgeLists |
AnimationList | mAnimationsList |
VertexAnimationType | mSharedVertexDataAnimationType |
The vertex animation type associated with the shared vertex data. | |
bool | mAnimationTypesDirty |
Do we need to scan animations for animation types? | |
PoseList | mPoseList |
List of available poses for shared and dedicated geometryPoseList. | |
ResourceManager * | mCreator |
Creator. | |
String | mName |
Unique name of the resource. | |
String | mGroup |
The name of the resource group. | |
ResourceHandle | mHandle |
Numeric handle for more efficient look up than name. | |
volatile LoadingState | mLoadingState |
Is the resource currently loaded? | |
volatile bool | mIsBackgroundLoaded |
Is this resource going to be background loaded? Only applicable for multithreaded. | |
size_t | mSize |
Mutex to cover the status of loading. | |
bool | mIsManual |
Is this file manually loaded? | |
String | mOrigin |
Origin of this resource (e.g. script name) - optional. | |
ManualResourceLoader * | mLoader |
Optional manual loader; if provided, data is loaded from here instead of a file. | |
ListenerList | mListenerList |
String | mParamDictName |
Class name for this instance to be used as a lookup (must be initialised by subclasses). | |
Static Protected Attributes | |
static ParamDictionaryMap | msDictionary |
Dictionary of parameters. |
Definition at line 42 of file OgrePatchMesh.h.
typedef std::vector<Real> Ogre::Mesh::LodDistanceList [inherited] |
Definition at line 93 of file OgreMesh.h.
typedef std::multimap<size_t, VertexBoneAssignment> Ogre::Mesh::VertexBoneAssignmentList [inherited] |
Multimap of vertex bone assignments (orders by vertex index).
Definition at line 95 of file OgreMesh.h.
typedef MapIterator<VertexBoneAssignmentList> Ogre::Mesh::BoneAssignmentIterator [inherited] |
Definition at line 96 of file OgreMesh.h.
typedef std::vector<SubMesh*> Ogre::Mesh::SubMeshList [inherited] |
Definition at line 97 of file OgreMesh.h.
typedef std::vector<unsigned short> Ogre::Mesh::IndexMap [inherited] |
Definition at line 98 of file OgreMesh.h.
typedef HashMap<String, ushort> Ogre::Mesh::SubMeshNameMap [inherited] |
A hashmap used to store optional SubMesh names.
Translates a name into SubMesh index
Definition at line 118 of file OgreMesh.h.
typedef std::vector<MeshLodUsage> Ogre::Mesh::MeshLodUsageList [protected, inherited] |
Definition at line 150 of file OgreMesh.h.
typedef std::map<String, Animation*> Ogre::Mesh::AnimationList [protected, inherited] |
typedef VectorIterator<SubMeshList> Ogre::Mesh::SubMeshIterator [inherited] |
Definition at line 233 of file OgreMesh.h.
typedef VectorIterator<PoseList> Ogre::Mesh::PoseIterator [inherited] |
Definition at line 826 of file OgreMesh.h.
typedef ConstVectorIterator<PoseList> Ogre::Mesh::ConstPoseIterator [inherited] |
Definition at line 827 of file OgreMesh.h.
typedef std::list<Listener*> Ogre::Resource::ListenerList [protected, inherited] |
Definition at line 131 of file OgreResource.h.
enum Ogre::Resource::LoadingState [inherited] |
Enum identifying the loading state of the resource.
LOADSTATE_UNLOADED | Not loaded. |
LOADSTATE_LOADING | Loading is in progress. |
LOADSTATE_LOADED | Fully loaded. |
LOADSTATE_UNLOADING | Currently unloading. |
Definition at line 96 of file OgreResource.h.
Ogre::PatchMesh::PatchMesh | ( | ResourceManager * | creator, | |
const String & | name, | |||
ResourceHandle | handle, | |||
const String & | group | |||
) |
Constructor.
void Ogre::PatchMesh::define | ( | void * | controlPointBuffer, | |
VertexDeclaration * | declaration, | |||
size_t | width, | |||
size_t | height, | |||
size_t | uMaxSubdivisionLevel = PatchSurface::AUTO_LEVEL , |
|||
size_t | vMaxSubdivisionLevel = PatchSurface::AUTO_LEVEL , |
|||
PatchSurface::VisibleSide | visibleSide = PatchSurface::VS_FRONT , |
|||
HardwareBuffer::Usage | vbUsage = HardwareBuffer::HBU_STATIC_WRITE_ONLY , |
|||
HardwareBuffer::Usage | ibUsage = HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY , |
|||
bool | vbUseShadow = false , |
|||
bool | ibUseShadow = false | |||
) |
Define the patch, as defined in MeshManager::createBezierPatch.
void Ogre::PatchMesh::setSubdivision | ( | Real | factor | ) |
void Ogre::PatchMesh::loadImpl | ( | void | ) | [protected, virtual] |
void Ogre::Mesh::organiseTangentsBuffer | ( | VertexData * | vertexData, | |
VertexElementSemantic | targetSemantic, | |||
unsigned short | index, | |||
unsigned short | sourceTexCoordSet | |||
) | [protected, inherited] |
Internal method for making the space for a vertex element to hold tangents.
void Ogre::Mesh::buildIndexMap | ( | const VertexBoneAssignmentList & | boneAssignments, | |
IndexMap & | boneIndexToBlendIndexMap, | |||
IndexMap & | blendIndexToBoneIndexMap | |||
) | [protected, inherited] |
Build the index map between bone index and blend index.
void Ogre::Mesh::compileBoneAssignments | ( | const VertexBoneAssignmentList & | boneAssignments, | |
unsigned short | numBlendWeightsPerVertex, | |||
IndexMap & | blendIndexToBoneIndexMap, | |||
VertexData * | targetVertexData | |||
) | [protected, inherited] |
Compile bone assignments into blend index and weight buffers.
void Ogre::Mesh::postLoadImpl | ( | void | ) | [protected, virtual, inherited] |
Internal hook to perform actions after the load process, but before the resource has been marked as fully loaded.
Reimplemented from Ogre::Resource.
void Ogre::Mesh::unloadImpl | ( | void | ) | [protected, virtual, inherited] |
Internal implementation of the 'unload' action; called regardless of whether this resource is being loaded from a ManualResourceLoader.
Implements Ogre::Resource.
size_t Ogre::Mesh::calculateSize | ( | void | ) | const [protected, virtual, inherited] |
SubMesh* Ogre::Mesh::createSubMesh | ( | void | ) | [inherited] |
Creates a new SubMesh.
Creates a new SubMesh and gives it a name.
Gives a name to a SubMesh.
Gets the index of a submesh with a given name.
unsigned short Ogre::Mesh::getNumSubMeshes | ( | void | ) | const [inherited] |
Gets the number of sub meshes which comprise this mesh.
SubMesh* Ogre::Mesh::getSubMesh | ( | unsigned short | index | ) | const [inherited] |
Gets a pointer to the submesh indicated by the index.
SubMeshIterator Ogre::Mesh::getSubMeshIterator | ( | void | ) | [inherited] |
MeshPtr Ogre::Mesh::clone | ( | const String & | newName, | |
const String & | newGroup = StringUtil::BLANK | |||
) | [inherited] |
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. |
const AxisAlignedBox& Ogre::Mesh::getBounds | ( | void | ) | const [inherited] |
Get the axis-aligned bounding box for this mesh.
Real Ogre::Mesh::getBoundingSphereRadius | ( | void | ) | const [inherited] |
Gets the radius of the bounding sphere surrounding this mesh.
void Ogre::Mesh::_setBounds | ( | const AxisAlignedBox & | bounds, | |
bool | pad = true | |||
) | [inherited] |
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::_setBoundingSphereRadius | ( | Real | radius | ) | [inherited] |
Manually set the bounding radius.
void Ogre::Mesh::setSkeletonName | ( | const String & | skelName | ) | [inherited] |
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 |
bool Ogre::Mesh::hasSkeleton | ( | void | ) | const [inherited] |
bool Ogre::Mesh::hasVertexAnimation | ( | void | ) | const [inherited] |
Returns whether or not this mesh has some kind of vertex animation.
const SkeletonPtr& Ogre::Mesh::getSkeleton | ( | void | ) | const [inherited] |
Gets a pointer to any linked Skeleton.
const String& Ogre::Mesh::getSkeletonName | ( | void | ) | const [inherited] |
Gets the name of any linked Skeleton.
void Ogre::Mesh::_initAnimationState | ( | AnimationStateSet * | animSet | ) | [inherited] |
Initialise an animation set suitable for use with this mesh.
void Ogre::Mesh::_refreshAnimationState | ( | AnimationStateSet * | animSet | ) | [inherited] |
Refresh an animation set suitable for use with this mesh.
void Ogre::Mesh::addBoneAssignment | ( | const VertexBoneAssignment & | vertBoneAssign | ) | [inherited] |
Assigns a vertex to a bone with a given weight, for skeletal animation.
void Ogre::Mesh::clearBoneAssignments | ( | void | ) | [inherited] |
void Ogre::Mesh::_notifySkeleton | ( | SkeletonPtr & | pSkel | ) | [inherited] |
BoneAssignmentIterator Ogre::Mesh::getBoneAssignmentIterator | ( | void | ) | [inherited] |
Gets an iterator for access all bone assignments.
void Ogre::Mesh::generateLodLevels | ( | const LodDistanceList & | lodDistances, | |
ProgressiveMesh::VertexReductionQuota | reductionMethod, | |||
Real | reductionValue | |||
) | [inherited] |
Automatically generates lower level of detail versions of this mesh for use when a simpler version of the model is acceptable for rendering.
lodDistances | A list of depth values indicating the distances at which new lods should be generated. | |
reductionMethod | The way to determine the number of vertices collapsed per LOD | |
reductionValue | Meaning depends on reductionMethod, typically either the proportion of remaining vertices to collapse or a fixed number of vertices. |
ushort Ogre::Mesh::getNumLodLevels | ( | void | ) | const [inherited] |
Returns the number of levels of detail that this mesh supports.
const MeshLodUsage& Ogre::Mesh::getLodLevel | ( | ushort | index | ) | const [inherited] |
Gets details of the numbered level of detail entry.
Adds a new manual level-of-detail entry to this Mesh.
fromDepth | The z value from which this Lod will apply. | |
meshName | The name of the mesh which will be the lower level detail version. |
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. |
Retrieves the level of detail index for the given depth value.
Retrieves the level of detail index for the given squared depth value.
bool Ogre::Mesh::isLodManual | ( | void | ) | const [inherited] |
Returns true if this mesh is using manual LOD.
Definition at line 454 of file OgreMesh.h.
void Ogre::Mesh::_setLodInfo | ( | unsigned short | numLevels, | |
bool | isManual | |||
) | [inherited] |
Internal methods for loading LOD, do not use.
void Ogre::Mesh::_setLodUsage | ( | unsigned short | level, | |
MeshLodUsage & | usage | |||
) | [inherited] |
Internal methods for loading LOD, do not use.
void Ogre::Mesh::_setSubMeshLodFaceList | ( | unsigned short | subIdx, | |
unsigned short | level, | |||
IndexData * | facedata | |||
) | [inherited] |
Internal methods for loading LOD, do not use.
void Ogre::Mesh::removeLodLevels | ( | void | ) | [inherited] |
Removes all LOD data from this Mesh.
void Ogre::Mesh::setVertexBufferPolicy | ( | HardwareBuffer::Usage | usage, | |
bool | shadowBuffer = false | |||
) | [inherited] |
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. |
void Ogre::Mesh::setIndexBufferPolicy | ( | HardwareBuffer::Usage | usage, | |
bool | shadowBuffer = false | |||
) | [inherited] |
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. |
HardwareBuffer::Usage Ogre::Mesh::getVertexBufferUsage | ( | void | ) | const [inherited] |
HardwareBuffer::Usage Ogre::Mesh::getIndexBufferUsage | ( | void | ) | const [inherited] |
bool Ogre::Mesh::isVertexBufferShadowed | ( | void | ) | const [inherited] |
Gets whether or not this meshes vertex buffers are shadowed.
Definition at line 517 of file OgreMesh.h.
bool Ogre::Mesh::isIndexBufferShadowed | ( | void | ) | const [inherited] |
Gets whether or not this meshes index buffers are shadowed.
Definition at line 519 of file OgreMesh.h.
unsigned short Ogre::Mesh::_rationaliseBoneAssignments | ( | size_t | vertexCount, | |
VertexBoneAssignmentList & | assignments | |||
) | [inherited] |
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::_compileBoneAssignments | ( | void | ) | [inherited] |
Internal method, be called once to compile bone assignments into geometry buffer.
void Ogre::Mesh::_updateCompiledBoneAssignments | ( | void | ) | [inherited] |
Internal method, be called once to update the compiled bone assignments.
void Ogre::Mesh::buildTangentVectors | ( | VertexElementSemantic | targetSemantic = VES_TANGENT , |
|
unsigned short | sourceTexCoordSet = 0 , |
|||
unsigned short | index = 0 | |||
) | [inherited] |
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. |
bool Ogre::Mesh::suggestTangentVectorBuildParams | ( | VertexElementSemantic | targetSemantic, | |
unsigned short & | outSourceCoordSet, | |||
unsigned short & | outIndex | |||
) | [inherited] |
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 |
void Ogre::Mesh::buildEdgeList | ( | void | ) | [inherited] |
Builds an edge list for this mesh, which can be used for generating a shadow volume among other things.
void Ogre::Mesh::freeEdgeList | ( | void | ) | [inherited] |
Destroys and frees the edge lists this mesh has built.
void Ogre::Mesh::prepareForShadowVolume | ( | void | ) | [inherited] |
This method prepares the mesh for generating a renderable shadow volume.
EdgeData* Ogre::Mesh::getEdgeList | ( | unsigned int | lodIndex = 0 |
) | [inherited] |
Return the edge list for this mesh, building it if required.
const EdgeData* Ogre::Mesh::getEdgeList | ( | unsigned int | lodIndex = 0 |
) | const [inherited] |
Return the edge list for this mesh, building it if required.
bool Ogre::Mesh::isPreparedForShadowVolumes | ( | void | ) | const [inherited] |
Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes.
Definition at line 643 of file OgreMesh.h.
bool Ogre::Mesh::isEdgeListBuilt | ( | void | ) | const [inherited] |
static void Ogre::Mesh::prepareMatricesForVertexBlend | ( | const Matrix4 ** | blendMatrices, | |
const Matrix4 * | boneMatrices, | |||
const IndexMap & | indexMap | |||
) | [static, inherited] |
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 |
static void Ogre::Mesh::softwareVertexBlend | ( | const VertexData * | sourceVertexData, | |
const VertexData * | targetVertexData, | |||
const Matrix4 *const * | blendMatrices, | |||
size_t | numMatrices, | |||
bool | blendNormals | |||
) | [static, inherited] |
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 void Ogre::Mesh::softwareVertexMorph | ( | Real | t, | |
const HardwareVertexBufferSharedPtr & | b1, | |||
const HardwareVertexBufferSharedPtr & | b2, | |||
VertexData * | targetVertexData | |||
) | [static, inherited] |
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 void Ogre::Mesh::softwareVertexPoseBlend | ( | Real | weight, | |
const std::map< size_t, Vector3 > & | vertexOffsetMap, | |||
VertexData * | targetVertexData | |||
) | [static, inherited] |
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 | |
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 |
const SubMeshNameMap& Ogre::Mesh::getSubMeshNameMap | ( | void | ) | const [inherited] |
Gets a reference to the optional name assignments of the SubMeshes.
Definition at line 720 of file OgreMesh.h.
void Ogre::Mesh::setAutoBuildEdgeLists | ( | bool | autobuild | ) | [inherited] |
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 732 of file OgreMesh.h.
bool Ogre::Mesh::getAutoBuildEdgeLists | ( | void | ) | const [inherited] |
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 737 of file OgreMesh.h.
virtual VertexAnimationType Ogre::Mesh::getSharedVertexDataAnimationType | ( | void | ) | const [virtual, inherited] |
Gets the type of vertex animation the shared vertex data of this mesh supports.
virtual Animation* Ogre::Mesh::createAnimation | ( | const String & | name, | |
Real | length | |||
) | [virtual, inherited] |
Creates a new Animation object for vertex animating this mesh.
name | The name of this animation | |
length | The length of the animation in seconds |
virtual Animation* Ogre::Mesh::getAnimation | ( | unsigned short | index | ) | const [virtual, inherited] |
Gets a single morph animation by index.
Internal access to the named vertex Animation object - returns null if it does not exist.
name | The name of the animation |
virtual bool Ogre::Mesh::hasAnimation | ( | const String & | name | ) | [virtual, inherited] |
Returns whether this mesh contains the named vertex animation.
virtual void Ogre::Mesh::removeAnimation | ( | const String & | name | ) | [virtual, inherited] |
Removes vertex Animation from this mesh.
virtual unsigned short Ogre::Mesh::getNumAnimations | ( | void | ) | const [virtual, inherited] |
Gets the number of morph animations in this mesh.
virtual void Ogre::Mesh::removeAllAnimations | ( | void | ) | [virtual, inherited] |
Removes all morph Animations from this mesh.
VertexData* Ogre::Mesh::getVertexDataByTrackHandle | ( | unsigned short | handle | ) | [inherited] |
Gets a pointer to a vertex data element based on a morph animation track handle.
void Ogre::Mesh::updateMaterialForAllSubMeshes | ( | void | ) | [inherited] |
Iterates through all submeshes and requests them to apply their texture aliases to the material they use.
void Ogre::Mesh::_determineAnimationTypes | ( | void | ) | const [inherited] |
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).
bool Ogre::Mesh::_getAnimationTypesDirty | ( | void | ) | const [inherited] |
Pose* Ogre::Mesh::createPose | ( | ushort | target, | |
const String & | name = StringUtil::BLANK | |||
) | [inherited] |
size_t Ogre::Mesh::getPoseCount | ( | void | ) | const [inherited] |
void Ogre::Mesh::removePose | ( | ushort | index | ) | [inherited] |
Destroy a pose by index.
void Ogre::Mesh::removePose | ( | const String & | name | ) | [inherited] |
Destroy a pose by name.
void Ogre::Mesh::removeAllPoses | ( | void | ) | [inherited] |
Destroy all poses.
PoseIterator Ogre::Mesh::getPoseIterator | ( | void | ) | [inherited] |
Get an iterator over all the poses defined.
ConstPoseIterator Ogre::Mesh::getPoseIterator | ( | void | ) | const [inherited] |
Get an iterator over all the poses defined.
const PoseList& Ogre::Mesh::getPoseList | ( | void | ) | const [inherited] |
Get pose list.
virtual void Ogre::Resource::preLoadImpl | ( | void | ) | [protected, virtual, inherited] |
Internal hook to perform actions before the load process, but after the resource has been marked as 'loading'.
Definition at line 149 of file OgreResource.h.
virtual void Ogre::Resource::preUnloadImpl | ( | void | ) | [protected, virtual, inherited] |
Internal hook to perform actions before the unload process.
Definition at line 161 of file OgreResource.h.
virtual void Ogre::Resource::postUnloadImpl | ( | void | ) | [protected, virtual, inherited] |
Internal hook to perform actions after the unload process, but before the resource has been marked as fully unloaded.
Definition at line 166 of file OgreResource.h.
virtual void Ogre::Resource::queueFireBackgroundLoadingComplete | ( | void | ) | [protected, virtual, inherited] |
Queue the firing of background loading complete event.
virtual void Ogre::Resource::load | ( | bool | backgroundThread = false |
) | [virtual, inherited] |
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.
virtual void Ogre::Resource::reload | ( | void | ) | [virtual, inherited] |
Reloads the resource, if it is already loaded.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
bool Ogre::Resource::isReloadable | ( | void | ) | const [inherited] |
Returns true if the Resource is reloadable, false otherwise.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 228 of file OgreResource.h.
bool Ogre::Resource::isManuallyLoaded | ( | void | ) | const [inherited] |
virtual void Ogre::Resource::unload | ( | void | ) | [virtual, inherited] |
Unloads the resource; this is not permanent, the resource can be reloaded later if required.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
size_t Ogre::Resource::getSize | ( | void | ) | const [inherited] |
Retrieves info about the size of the resource.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 247 of file OgreResource.h.
virtual void Ogre::Resource::touch | ( | void | ) | [virtual, inherited] |
'Touches' the resource to indicate it has been used.
Reimplemented in Ogre::Material, and Ogre::UnifiedHighLevelGpuProgram.
Referenced by Ogre::Material::touch().
const String& Ogre::Resource::getName | ( | void | ) | const [inherited] |
Gets resource name.
Reimplemented in Ogre::SkeletonInstance.
Definition at line 258 of file OgreResource.h.
ResourceHandle Ogre::Resource::getHandle | ( | void | ) | const [inherited] |
bool Ogre::Resource::isLoaded | ( | void | ) | const [inherited] |
Returns true if the Resource has been loaded, false otherwise.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 270 of file OgreResource.h.
LoadingState Ogre::Resource::isLoading | ( | ) | const [inherited] |
Returns whether the resource is currently in the process of background loading.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 279 of file OgreResource.h.
LoadingState Ogre::Resource::getLoadingState | ( | ) | const [inherited] |
Returns the current loading state.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 286 of file OgreResource.h.
bool Ogre::Resource::isBackgroundLoaded | ( | void | ) | const [inherited] |
Returns whether this Resource has been earmarked for background loading.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 303 of file OgreResource.h.
void Ogre::Resource::setBackgroundLoaded | ( | bool | bl | ) | [inherited] |
Tells the resource whether it is background loaded or not.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
Definition at line 313 of file OgreResource.h.
void Ogre::Resource::escalateLoading | ( | ) | [inherited] |
Escalates the loading of a background loaded resource.
Reimplemented in Ogre::UnifiedHighLevelGpuProgram.
void Ogre::Resource::addListener | ( | Listener * | lis | ) | [inherited] |
void Ogre::Resource::removeListener | ( | Listener * | lis | ) | [inherited] |
const String& Ogre::Resource::getGroup | ( | void | ) | [inherited] |
Gets the group which this resource is a member of.
Reimplemented in Ogre::SkeletonInstance.
Definition at line 337 of file OgreResource.h.
void Ogre::Resource::changeGroupOwnership | ( | const String & | newGroup | ) | [inherited] |
Change the resource group ownership of a Resource.
newGroup | Name of the new group |
ResourceManager* Ogre::Resource::getCreator | ( | void | ) | [inherited] |
const String& Ogre::Resource::getOrigin | ( | void | ) | const [inherited] |
Get the origin of this resource, e.g.
a script file name.
Definition at line 356 of file OgreResource.h.
void Ogre::Resource::_notifyOrigin | ( | const String & | origin | ) | [inherited] |
virtual void Ogre::Resource::_fireBackgroundLoadingComplete | ( | void | ) | [virtual, inherited] |
Firing of background loading complete event.
bool Ogre::StringInterface::createParamDictionary | ( | const String & | className | ) | [protected, inherited] |
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 176 of file OgreStringInterface.h.
ParamDictionary* Ogre::StringInterface::getParamDictionary | ( | void | ) | [inherited] |
Retrieves the parameter dictionary for this class.
Definition at line 200 of file OgreStringInterface.h.
const ParamDictionary* Ogre::StringInterface::getParamDictionary | ( | void | ) | const [inherited] |
Definition at line 213 of file OgreStringInterface.h.
const ParameterList& Ogre::StringInterface::getParameters | ( | void | ) | const [inherited] |
Retrieves a list of parameters valid for this object.
virtual bool Ogre::StringInterface::setParameter | ( | const String & | name, | |
const String & | value | |||
) | [virtual, inherited] |
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().
virtual void Ogre::StringInterface::setParameterList | ( | const NameValuePairList & | paramList | ) | [virtual, inherited] |
Generic multiple parameter setting method.
paramList | Name/value pair list |
virtual String Ogre::StringInterface::getParameter | ( | const String & | name | ) | const [virtual, inherited] |
Generic parameter retrieval method.
name | The name of the parameter to get |
Definition at line 269 of file OgreStringInterface.h.
References Ogre::ParamCommand::doGet(), and Ogre::ParamDictionary::getParamCommand().
virtual void Ogre::StringInterface::copyParametersTo | ( | StringInterface * | dest | ) | const [virtual, inherited] |
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 300 of file OgreStringInterface.h.
References Ogre::ParamDictionary::mParamDefs, and Ogre::StringInterface::setParameter().
static void Ogre::StringInterface::cleanupDictionary | ( | ) | [static, inherited] |
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.
PatchSurface Ogre::PatchMesh::mSurface [protected] |
VertexDeclaration* Ogre::PatchMesh::mDeclaration [protected] |
SubMeshList Ogre::Mesh::mSubMeshList [protected, inherited] |
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 107 of file OgreMesh.h.
SubMeshNameMap Ogre::Mesh::mSubMeshNameMap [protected, inherited] |
Definition at line 122 of file OgreMesh.h.
AxisAlignedBox Ogre::Mesh::mAABB [protected, inherited] |
Real Ogre::Mesh::mBoundRadius [protected, inherited] |
String Ogre::Mesh::mSkeletonName [protected, inherited] |
SkeletonPtr Ogre::Mesh::mSkeleton [protected, inherited] |
Definition at line 131 of file OgreMesh.h.
VertexBoneAssignmentList Ogre::Mesh::mBoneAssignments [protected, inherited] |
Definition at line 134 of file OgreMesh.h.
bool Ogre::Mesh::mBoneAssignmentsOutOfDate [protected, inherited] |
Flag indicating that bone assignments need to be recompiled.
Definition at line 137 of file OgreMesh.h.
bool Ogre::Mesh::mIsLodManual [protected, inherited] |
Definition at line 148 of file OgreMesh.h.
ushort Ogre::Mesh::mNumLods [protected, inherited] |
Definition at line 149 of file OgreMesh.h.
MeshLodUsageList Ogre::Mesh::mMeshLodUsageList [protected, inherited] |
Definition at line 151 of file OgreMesh.h.
HardwareBuffer::Usage Ogre::Mesh::mVertexBufferUsage [protected, inherited] |
Definition at line 153 of file OgreMesh.h.
HardwareBuffer::Usage Ogre::Mesh::mIndexBufferUsage [protected, inherited] |
Definition at line 154 of file OgreMesh.h.
bool Ogre::Mesh::mVertexBufferShadowBuffer [protected, inherited] |
Definition at line 155 of file OgreMesh.h.
bool Ogre::Mesh::mIndexBufferShadowBuffer [protected, inherited] |
Definition at line 156 of file OgreMesh.h.
bool Ogre::Mesh::mPreparedForShadowVolumes [protected, inherited] |
Definition at line 159 of file OgreMesh.h.
bool Ogre::Mesh::mEdgeListsBuilt [protected, inherited] |
Definition at line 160 of file OgreMesh.h.
bool Ogre::Mesh::mAutoBuildEdgeLists [protected, inherited] |
Definition at line 161 of file OgreMesh.h.
AnimationList Ogre::Mesh::mAnimationsList [protected, inherited] |
Definition at line 165 of file OgreMesh.h.
VertexAnimationType Ogre::Mesh::mSharedVertexDataAnimationType [mutable, protected, inherited] |
The vertex animation type associated with the shared vertex data.
Definition at line 167 of file OgreMesh.h.
bool Ogre::Mesh::mAnimationTypesDirty [mutable, protected, inherited] |
PoseList Ogre::Mesh::mPoseList [protected, inherited] |
List of available poses for shared and dedicated geometryPoseList.
Definition at line 172 of file OgreMesh.h.
VertexData* Ogre::Mesh::sharedVertexData [inherited] |
Shared vertex data.
Definition at line 246 of file OgreMesh.h.
IndexMap Ogre::Mesh::sharedBlendIndexToBoneIndexMap [inherited] |
Shared index map for translating blend index to bone index.
Definition at line 268 of file OgreMesh.h.
ResourceManager* Ogre::Resource::mCreator [protected, inherited] |
String Ogre::Resource::mName [protected, inherited] |
String Ogre::Resource::mGroup [protected, inherited] |
ResourceHandle Ogre::Resource::mHandle [protected, inherited] |
volatile LoadingState Ogre::Resource::mLoadingState [protected, inherited] |
volatile bool Ogre::Resource::mIsBackgroundLoaded [protected, inherited] |
Is this resource going to be background loaded? Only applicable for multithreaded.
Definition at line 119 of file OgreResource.h.
size_t Ogre::Resource::mSize [protected, inherited] |
Mutex to cover the status of loading.
The size of the resource in bytes
Definition at line 123 of file OgreResource.h.
bool Ogre::Resource::mIsManual [protected, inherited] |
String Ogre::Resource::mOrigin [protected, inherited] |
Origin of this resource (e.g. script name) - optional.
Definition at line 127 of file OgreResource.h.
ManualResourceLoader* Ogre::Resource::mLoader [protected, inherited] |
Optional manual loader; if provided, data is loaded from here instead of a file.
Definition at line 129 of file OgreResource.h.
ListenerList Ogre::Resource::mListenerList [protected, inherited] |
Definition at line 132 of file OgreResource.h.
ParamDictionaryMap Ogre::StringInterface::msDictionary [static, protected, inherited] |
String Ogre::StringInterface::mParamDictName [protected, inherited] |
Class name for this instance to be used as a lookup (must be initialised by subclasses).
Definition at line 164 of file OgreStringInterface.h.
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:51:44 2008