#include <W3DCustomEdging.h>
|
| | W3DCustomEdging (void) |
| |
| | ~W3DCustomEdging (void) |
| |
| void | addEdging (Coord3D location, Real scale, Real angle, AsciiString name, Bool visibleInMirror) |
| |
| void | clearAllEdging (void) |
| | Empties the tree buffer.
|
| |
| void | drawEdging (WorldHeightMap *pMap, Int minX, Int maxX, Int minY, Int maxY, TextureClass *terrainTexture, TextureClass *cloudTexture, TextureClass *noiseTexture) |
| | Draws the trees. Uses camera for culling.
|
| |
| void | doFullUpdate (void) |
| |
Definition at line 77 of file W3DCustomEdging.h.
◆ anonymous enum
◆ W3DCustomEdging()
| W3DCustomEdging::W3DCustomEdging |
( |
void | | ) |
|
Constructor. Sets m_initialized to true if it finds the w3d models it needs for the trees.
Definition at line 292 of file W3DCustomEdging.cpp.
◆ ~W3DCustomEdging()
| W3DCustomEdging::~W3DCustomEdging |
( |
void | | ) |
|
◆ addEdging()
◆ allocateEdgingBuffers()
| void W3DCustomEdging::allocateEdgingBuffers |
( |
void | | ) |
|
|
protected |
Allocates the buffers.
Allocates the index and vertex buffers.
Definition at line 319 of file W3DCustomEdging.cpp.
◆ clearAllEdging()
| void W3DCustomEdging::clearAllEdging |
( |
void | | ) |
|
◆ doFullUpdate()
| void W3DCustomEdging::doFullUpdate |
( |
void | | ) |
|
|
inline |
Called when the view changes, and sort key needs to be recalculated. Normally sortKey gets calculated when a tree becomes visible.
Definition at line 92 of file W3DCustomEdging.h.
◆ drawEdging()
Draws the trees. Uses camera for culling.
Draws the trees. Uses camera to cull.
Definition at line 348 of file W3DCustomEdging.cpp.
◆ freeEdgingBuffers()
| void W3DCustomEdging::freeEdgingBuffers |
( |
void | | ) |
|
|
protected |
Frees the index and vertex buffers.
Frees the index and vertex buffers.
Definition at line 308 of file W3DCustomEdging.cpp.
◆ loadEdgingsInVertexAndIndexBuffers()
◆ HeightMapRenderObjClass
◆ m_anythingChanged
| Bool W3DCustomEdging::m_anythingChanged |
|
protected |
◆ m_curEdgingIndexOffset
| Int W3DCustomEdging::m_curEdgingIndexOffset |
|
protected |
First index to draw at. We draw the trees backwards by filling up the index buffer backwards,.
Definition at line 101 of file W3DCustomEdging.h.
◆ m_curNumEdgingIndices
| Int W3DCustomEdging::m_curNumEdgingIndices |
|
protected |
◆ m_curNumEdgingVertices
| Int W3DCustomEdging::m_curNumEdgingVertices |
|
protected |
◆ m_indexEdging
indices defining a triangles for the tree drawing.
Definition at line 98 of file W3DCustomEdging.h.
◆ m_initialized
| Bool W3DCustomEdging::m_initialized |
|
protected |
◆ m_vertexEdging
The documentation for this class was generated from the following files: