28#ifndef __StaticFaceGroup_H__
29#define __StaticFaceGroup_H__
115 o <<
"StaticFaceGroup(";
118 o <<
"faceList, numVertices=" <<
s.numVertices <<
", vertexStart=" <<
s.vertexStart;
119 o <<
", numElements=" <<
s.numElements <<
", elementStart=" <<
s.elementStart;
120 o <<
", normal=" <<
s.plane.normal;
124 o <<
"bezierPatch, numVertices=" <<
s.numVertices <<
", vertexStart=" <<
s.vertexStart;
128 o <<
", materialHandle=" <<
s.materialHandle;
A surface which is defined by curves of some kind to form a patch, e.g.
Defines a plane in 3D space.
Reference-counted shared pointer, used for objects where implicit destruction is required.
FaceGroupType
A type of face group, i.e.
Collects a group of static i.e.
int vertexStart
Index into a buffer containing vertex definitions.
int numElements
The number of vertex indices.
int elementStart
Index into a buffer containing vertex indices.
PatchSurface * patchSurf
Patch surface (only applicable when fType = FGT_PATCH)
int numVertices
The range of vertices in the buffer this facegroup references.
ResourceHandle materialHandle
Handle to material used by this group.
_OgreExport friend std::ostream & operator<<(std::ostream &o, const StaticFaceGroup &s)
bool isSky
Is this a sky surface?