![]() |
OGRE-Next 3.0.0
Object-Oriented Graphics Rendering Engine
|
General utility class for building edge lists for geometry. More...
#include <OgreEdgeListBuilder.h>
Public Member Functions | |
EdgeListBuilder () | |
virtual | ~EdgeListBuilder () |
void | addIndexData (const IndexData *indexData, size_t vertexSet=0, OperationType opType=OT_TRIANGLE_LIST) |
Add a set of index geometry data to the edge builder. | |
void | addVertexData (const VertexData *vertexData) |
Add a set of vertex geometry data to the edge builder. | |
EdgeData * | build () |
Builds the edge information based on the information built up so far. | |
void | log (Log *l) |
Debugging method. | |
General utility class for building edge lists for geometry.
Ogre::v1::EdgeListBuilder::EdgeListBuilder | ( | ) |
|
virtual |
void Ogre::v1::EdgeListBuilder::addIndexData | ( | const IndexData * | indexData, |
size_t | vertexSet = 0, | ||
OperationType | opType = OT_TRIANGLE_LIST ) |
Add a set of index geometry data to the edge builder.
indexData | The index information which describes the triangles. |
vertexSet | The vertex data set this index data refers to; you only need to alter this if you have added multiple sets of vertices |
opType | The operation type used to render these indexes. Only triangle types are supported (no point or line types) |
References Ogre::OT_TRIANGLE_LIST.
void Ogre::v1::EdgeListBuilder::addVertexData | ( | const VertexData * | vertexData | ) |
Add a set of vertex geometry data to the edge builder.
EdgeData * Ogre::v1::EdgeListBuilder::build | ( | ) |
Builds the edge information based on the information built up so far.
void Ogre::v1::EdgeListBuilder::log | ( | Log * | l | ) |
Debugging method.