TerrBatch Namespace Reference
|
Enumerations |
enum | vertexType {
vertexTypeGeneric,
vertexTypeFullClipMapping,
vertexTypeSingleTextureClipMapping,
vertexTypeDetail,
vertexTypeDLight,
vertexTypeFog
} |
Functions |
void | init () |
void | destroy () |
void | begin () |
U16 | emit (const EdgePoint &ep) |
U16 | emit (const Point3F &p) |
U16 | emit (S32 x, S32 y) |
U16 | emitInterp (U16 p1, U16 p2, S32 x, S32 y, F32 growFactor) |
void | emit (ChunkEdge &edge) |
U16 | emit (ChunkCornerPoint *p) |
void | emitTriangle (U16 a, U16 b, U16 c) |
void | emitFanStep (U16 a) |
void | end (bool final, vertexType vtype, Point4F *clipmapMapping, const MatrixF &blockTransform, const Point3F &cameraPosition, LightInfo *light, SceneState *) |
Variables |
GFXAtlasVert2 * | mVertexStore |
GFXVertexPCNT * | mVertexStorePCNT |
GFXVertexPCNTT * | mVertexStorePCNTT |
U16 | mCurVertex |
U16 * | mIndexStore |
U16 | mCurIndex |
GFXPrimitive * | mPrimitiveStore |
U16 | mCurPrim |
U16 | mCurTexture |
U32 | mCurXF |
U16 | mLastIndex |
U16 | mLastVertex |
S32 | mBiggestVertexBatch |
S32 | mBiggestIndexBatch |
Enumeration Type Documentation
- Enumerator:
-
vertexTypeGeneric |
|
vertexTypeFullClipMapping |
|
vertexTypeSingleTextureClipMapping |
|
vertexTypeDetail |
|
vertexTypeDLight |
|
vertexTypeFog |
|
Function Documentation
void TerrBatch::destroy |
( |
|
) |
|
void TerrBatch::begin |
( |
|
) |
|
U16 TerrBatch::emit |
( |
const Point3F & |
p |
) |
[inline] |
U16 TerrBatch::emit |
( |
S32 |
x, |
|
|
S32 |
y | |
|
) |
| | [inline] |
void TerrBatch::emitFanStep |
( |
U16 |
a |
) |
[inline] |
Variable Documentation
|