Collects a group of static i.e. More...
#include <OgreStaticFaceGroup.h>
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 | |
_OgreExport friend std::ostream & | operator<< (std::ostream &o, const StaticFaceGroup &s) |
Collects a group of static i.e.
immovable faces together which have common properties like the material they use, the plane they lie on.
Definition at line 69 of file OgreStaticFaceGroup.h.
_OgreExport friend std::ostream& operator<< | ( | std::ostream & | o, | |
const StaticFaceGroup & | s | |||
) | [friend] |
Definition at line 113 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 94 of file OgreStaticFaceGroup.h.
Definition at line 71 of file OgreStaticFaceGroup.h.
Is this a sky surface?
Definition at line 74 of file OgreStaticFaceGroup.h.
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 105 of file OgreStaticFaceGroup.h.
The number of vertex indices.
This is only applicable to FGT_FACE_LIST face group types.
Definition at line 99 of file OgreStaticFaceGroup.h.
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 85 of file OgreStaticFaceGroup.h.
Patch surface (only applicable when fType = FGT_PATCH).
Definition at line 110 of file OgreStaticFaceGroup.h.
Definition at line 107 of file OgreStaticFaceGroup.h.
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 79 of file OgreStaticFaceGroup.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:40:42 2012