![]() |
TrinityCore
|
#include <constants.h>
Public Types | |
enum | Value { POINTS = 0x0000, LINES = 0x0001, LINE_STRIP = 0x0003, TRIANGLES = 0x0004, TRIANGLE_STRIP = 0x0005, TRIANGLE_FAN = 0x0006, QUADS = 0x0007, QUAD_STRIP = 0x0008, PATCHES = 0x000E } |
Public Member Functions | |
G3D_DECLARE_ENUM_CLASS_METHODS (PrimitiveType) | |
Static Private Member Functions | |
static const char * | toString (int i, Value &v) |
Private Attributes | |
Value | value |
These are defined to have the same value as the equivalent OpenGL constant.
Enumerator | |
---|---|
POINTS | |
LINES | |
LINE_STRIP | |
TRIANGLES | |
TRIANGLE_STRIP | |
TRIANGLE_FAN | |
QUADS | |
QUAD_STRIP | |
PATCHES |
G3D::PrimitiveType::G3D_DECLARE_ENUM_CLASS_METHODS | ( | PrimitiveType | ) |
|
private |