#include <ivf/IvfVertexElements.h>
Inheritance diagram for CIvfVertexElements:
Public Types | |
enum | TPrimitiveType { PT_POINTS, PT_LINES, PT_LINE_STRIP, PT_LINE_LOOP, PT_TRIANGLES, PT_TRIANGLE_STRIP, PT_TRIANGLE_FAN, PT_QUADS, PT_QUAD_STRIP, PT_POLYGON } |
Public Member Functions | |
CIvfVertexElements () | |
virtual | ~CIvfVertexElements () |
IvfClassInfo ("CIvfVertexElements", CIvfShape) | |
void | setIndices (CIvfVertexIndex *index) |
void | setVertices (CIvfVertexList *vertices) |
void | setColors (CIvfColorList *colors) |
void | setNormals (CIvfNormalList *normals) |
void | setPrimitive (TPrimitiveType primitive) |
TPrimitiveType | getPrimitive () |
Protected Member Functions | |
virtual void | createGeometry () |
Implements the OpenGL glDrawElements command
Definition at line 43 of file IvfVertexElements.h.
|
CIvfVertexElements constructor |
|
CIvfVertexElements destructor |
|
Forces an object recalculation. Reimplemented from CIvfShape. |
|
Return primitive type |
|
Set color list |
|
Set index list |
|
Set normal list |
|
Set primitive type to be drawn |
|
Set vertex list |