#include <OgreStaticFaceGroup.h>
Collaboration diagram for Ogre::StaticFaceGroup:
Public Attributes | |
FaceGroupType | fType |
bool | isSky |
Is this a sky surface? | |
int | vertexStart |
Index into a buffer containing vertex definitions. | |
int | numVertices |
The range of vertices in the buffer this facegroup references. | |
int | elementStart |
Index into a buffer containing vertex indices. | |
int | numElements |
The number of vertex indices. | |
int | materialHandle |
Handle to material used by this group. | |
Plane | plane |
PatchSurface * | patchSurf |
Patch surface (only applicable when fType = FGT_PATCH). | |
Friends | |
std::ostream & | operator<< (std::ostream &o, StaticFaceGroup &s) |
Exactly how this class is used depends on the format of the large static geometry used in the level. An example would be the use of this class in the BspNode class for indoor levels. For flexibility and efficiency, it is not assumed that this class holds details of the vertices itself, or in fact that it holds the vertex indices itself. Everything is manipulated via pointers so if you want this class to point into a block of geometry data it can.
Definition at line 60 of file OgreStaticFaceGroup.h.
|
Definition at line 104 of file OgreStaticFaceGroup.h. |
|
Index into a buffer containing vertex indices. This buffer may be individual to this group or shared for memory allocation efficiency.The vertex indexes are relative the the mVertexStart pointer, not to the start of the large-level buffer, allowing simple reindexing when copying data into rendering buffers. This is only applicable to FGT_FACE_LIST face group types. Definition at line 85 of file OgreStaticFaceGroup.h. Referenced by Ogre::BspSceneManager::cacheGeometry(), and Ogre::BspLevel::loadQuake3Level(). |
|
Definition at line 62 of file OgreStaticFaceGroup.h. Referenced by Ogre::BspSceneManager::cacheGeometry(), and Ogre::BspLevel::loadQuake3Level(). |
|
Is this a sky surface?
Definition at line 65 of file OgreStaticFaceGroup.h. Referenced by Ogre::BspSceneManager::cacheGeometry(), and Ogre::BspLevel::loadQuake3Level(). |
|
Handle to material used by this group. Note the use of the material handle rather than the material name - this is for efficiency since there will be many of these. Definition at line 96 of file OgreStaticFaceGroup.h. Referenced by Ogre::BspLevel::loadQuake3Level(), and Ogre::BspSceneManager::processVisibleLeaf(). |
|
The number of vertex indices. This is only applicable to FGT_FACE_LIST face group types. Definition at line 90 of file OgreStaticFaceGroup.h. Referenced by Ogre::BspSceneManager::cacheGeometry(), and Ogre::BspLevel::loadQuake3Level(). |
|
The range of vertices in the buffer this facegroup references. This is really for copying purposes only, so that we know which subset of vertices to copy from our large-level buffer into the rendering buffer. Definition at line 76 of file OgreStaticFaceGroup.h. Referenced by Ogre::BspLevel::loadQuake3Level(). |
|
Patch surface (only applicable when fType = FGT_PATCH).
Definition at line 101 of file OgreStaticFaceGroup.h. Referenced by Ogre::BspSceneManager::cacheGeometry(), and Ogre::BspLevel::loadQuake3Level(). |
|
Definition at line 98 of file OgreStaticFaceGroup.h. Referenced by Ogre::BspLevel::loadQuake3Level(), and Ogre::BspSceneManager::processVisibleLeaf(). |
|
Index into a buffer containing vertex definitions. Because we're dealing with subsets of large levels this is likely to be part-way through a huge vertex buffer. Definition at line 70 of file OgreStaticFaceGroup.h. Referenced by Ogre::BspSceneManager::cacheGeometry(), and Ogre::BspLevel::loadQuake3Level(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Wed Jan 21 00:20:46 2004