Support Forum G3D Web Page |
These are defined to have the same value as the equivalent OpenGL constant. More...
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 | |
PrimitiveType (const G3D::String &x) | |
PrimitiveType (char v) | |
PrimitiveType (int v) | |
PrimitiveType (const G3D::Any &a) | |
PrimitiveType () | |
PrimitiveType (const Value v) | |
void | deserialize (G3D::BinaryInput &b) |
unsigned int | hashCode () const |
operator int () const | |
bool | operator!= (const PrimitiveType ::Value other) const |
bool | operator!= (const PrimitiveType other) const |
PrimitiveType | operator+ (const int x) const |
PrimitiveType & | operator++ () |
PrimitiveType & | operator+= (const int x) |
PrimitiveType | operator- (const int x) const |
PrimitiveType & | operator-- () |
PrimitiveType & | operator-= (const int x) |
bool | operator< (const PrimitiveType other) const |
bool | operator< (const Value other) const |
bool | operator<= (const Value other) const |
bool | operator<= (const PrimitiveType other) const |
PrimitiveType & | operator= (const G3D::Any &a) |
bool | operator== (const PrimitiveType ::Value other) const |
bool | operator== (const PrimitiveType other) const |
bool | operator> (const PrimitiveType other) const |
bool | operator> (const Value other) const |
bool | operator>= (const PrimitiveType other) const |
bool | operator>= (const Value other) const |
void | serialize (G3D::BinaryOutput &b) const |
G3D::Any | toAny () const |
const char * | toString () const |
Static Public Member Functions | |
static const char * | classname () |
static int | count () |
static Value | nthValue (int n) |
These are defined to have the same value as the equivalent OpenGL constant.
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inlineexplicit |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |