OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
General utility class for building edge lists for geometry. More...
#include <OgreEdgeListBuilder.h>
Public Member Functions | |
EdgeListBuilder () | |
void | addIndexData (const IndexData *indexData, size_t vertexSet=0, RenderOperation::OperationType opType=RenderOperation::OT_TRIANGLE_LIST) |
Add a set of index geometry data to the edge builder. More... | |
void | addVertexData (const VertexData *vertexData) |
Add a set of vertex geometry data to the edge builder. More... | |
EdgeData * | build (void) |
Builds the edge information based on the information built up so far. More... | |
void | log (Log *l) |
Debugging method. More... | |
General utility class for building edge lists for geometry.
Ogre::EdgeListBuilder::EdgeListBuilder | ( | ) |
void Ogre::EdgeListBuilder::addVertexData | ( | const VertexData * | vertexData | ) |
Add a set of vertex geometry data to the edge builder.
void Ogre::EdgeListBuilder::addIndexData | ( | const IndexData * | indexData, |
size_t | vertexSet = 0 , |
||
RenderOperation::OperationType | opType = RenderOperation::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) |
EdgeData* Ogre::EdgeListBuilder::build | ( | void | ) |
Builds the edge information based on the information built up so far.
void Ogre::EdgeListBuilder::log | ( | Log * | l | ) |
Debugging method.