OGRE
1.12.13
Object-Oriented Graphics Rendering Engine
|
Collects a group of static i.e. More...
#include <OgreStaticFaceGroup.h>
Public Attributes | |
int | elementStart |
Index into a buffer containing vertex indices. More... | |
FaceGroupType | fType |
bool | isSky |
Is this a sky surface? More... | |
ResourceHandle | materialHandle |
Handle to material used by this group. More... | |
int | numElements |
The number of vertex indices. More... | |
int | numVertices |
The range of vertices in the buffer this facegroup references. More... | |
PatchSurface * | patchSurf |
Patch surface (only applicable when fType = FGT_PATCH) More... | |
Plane | plane |
int | vertexStart |
Index into a buffer containing vertex definitions. More... | |
Collects a group of static i.e.
immovable faces together which have common properties like the material they use, the plane they lie on.
FaceGroupType Ogre::StaticFaceGroup::fType |
bool Ogre::StaticFaceGroup::isSky |
Is this a sky surface?
int Ogre::StaticFaceGroup::vertexStart |
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.
int Ogre::StaticFaceGroup::numVertices |
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.
int Ogre::StaticFaceGroup::elementStart |
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.
int Ogre::StaticFaceGroup::numElements |
The number of vertex indices.
This is only applicable to FGT_FACE_LIST face group types.
ResourceHandle Ogre::StaticFaceGroup::materialHandle |
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.
Plane Ogre::StaticFaceGroup::plane |
PatchSurface* Ogre::StaticFaceGroup::patchSurf |
Patch surface (only applicable when fType = FGT_PATCH)