#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) |
immovable faces together which have common properties like the material they use, the plane they lie on.
Definition at line 64 of file OgreStaticFaceGroup.h.
_OgreExport friend std::ostream& operator<< | ( | std::ostream & | o, | |
const StaticFaceGroup & | s | |||
) | [friend] |
Definition at line 108 of file OgreStaticFaceGroup.h.
Definition at line 66 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 74 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 80 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 89 of file OgreStaticFaceGroup.h.
The number of vertex indices.
This is only applicable to FGT_FACE_LIST face group types.
Definition at line 94 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 100 of file OgreStaticFaceGroup.h.
Definition at line 102 of file OgreStaticFaceGroup.h.
Patch surface (only applicable when fType = FGT_PATCH).
Definition at line 105 of file OgreStaticFaceGroup.h.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:07:25 2009