Support Forum       G3D Web Page     
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
G3D::CubeMapConvention Class Reference

Image alignment conventions specified by different APIs. More...

Classes

struct  CubeMapInfo
 

Public Types

enum  { COUNT = int(DIRECTX) + 1 }
 Number of conventions supported. More...
 
enum  Value {
  QUAKE,
  UNREAL,
  G3D,
  DIRECTX
}
 

Public Member Functions

 CubeMapConvention (const G3D::String &x)
 
 CubeMapConvention (char v)
 
 CubeMapConvention (int v)
 
 CubeMapConvention (const G3D::Any &a)
 
 CubeMapConvention ()
 
 CubeMapConvention (const Value v)
 
void deserialize (G3D::BinaryInput &b)
 
unsigned int hashCode () const
 
 operator int () const
 
bool operator!= (const CubeMapConvention ::Value other) const
 
bool operator!= (const CubeMapConvention other) const
 
CubeMapConvention operator+ (const int x) const
 
CubeMapConventionoperator++ ()
 
CubeMapConventionoperator+= (const int x)
 
CubeMapConvention operator- (const int x) const
 
CubeMapConventionoperator-- ()
 
CubeMapConventionoperator-= (const int x)
 
bool operator< (const CubeMapConvention other) const
 
bool operator< (const Value other) const
 
bool operator<= (const Value other) const
 
bool operator<= (const CubeMapConvention other) const
 
CubeMapConventionoperator= (const G3D::Any &a)
 
bool operator== (const CubeMapConvention ::Value other) const
 
bool operator== (const CubeMapConvention other) const
 
bool operator> (const CubeMapConvention other) const
 
bool operator> (const Value other) const
 
bool operator>= (const CubeMapConvention 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)
 

Detailed Description

Image alignment conventions specified by different APIs.

G3D loads cube maps so that they act like reflection maps. That is, it assumes you are inside the cube map.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Number of conventions supported.

Enumerator
COUNT 

◆ Value

Enumerator
QUAKE 

Uses "up", "lf", etc.

UNREAL 

Uses "up", "west", etc.

G3D 

Uses "+y", "-x", etc.

DIRECTX 

Uses "PY", "NX", etc.

Constructor & Destructor Documentation

◆ CubeMapConvention() [1/6]

G3D::CubeMapConvention::CubeMapConvention ( const G3D::String x)
inlineexplicit

◆ CubeMapConvention() [2/6]

G3D::CubeMapConvention::CubeMapConvention ( const G3D::Any a)
inlineexplicit

◆ CubeMapConvention() [3/6]

G3D::CubeMapConvention::CubeMapConvention ( char  v)
inlineexplicit

◆ CubeMapConvention() [4/6]

G3D::CubeMapConvention::CubeMapConvention ( )
inline

◆ CubeMapConvention() [5/6]

G3D::CubeMapConvention::CubeMapConvention ( const Value  v)
inline

◆ CubeMapConvention() [6/6]

G3D::CubeMapConvention::CubeMapConvention ( int  v)
inlineexplicit

Member Function Documentation

◆ classname()

static const char* G3D::CubeMapConvention::classname ( )
inlinestatic

◆ count()

static int G3D::CubeMapConvention::count ( )
inlinestatic

◆ deserialize()

void G3D::CubeMapConvention::deserialize ( G3D::BinaryInput b)
inline

◆ hashCode()

unsigned int G3D::CubeMapConvention::hashCode ( ) const
inline

◆ nthValue()

static Value G3D::CubeMapConvention::nthValue ( int  n)
inlinestatic

◆ operator int()

G3D::CubeMapConvention::operator int ( ) const
inline

◆ operator!=() [1/2]

bool G3D::CubeMapConvention::operator!= ( const CubeMapConvention  other) const
inline

◆ operator!=() [2/2]

bool G3D::CubeMapConvention::operator!= ( const CubeMapConvention ::Value  other) const
inline

◆ operator+()

CubeMapConvention G3D::CubeMapConvention::operator+ ( const int  x) const
inline

◆ operator++()

CubeMapConvention& G3D::CubeMapConvention::operator++ ( )
inline

◆ operator+=()

CubeMapConvention& G3D::CubeMapConvention::operator+= ( const int  x)
inline

◆ operator-()

CubeMapConvention G3D::CubeMapConvention::operator- ( const int  x) const
inline

◆ operator--()

CubeMapConvention& G3D::CubeMapConvention::operator-- ( )
inline

◆ operator-=()

CubeMapConvention& G3D::CubeMapConvention::operator-= ( const int  x)
inline

◆ operator<() [1/2]

bool G3D::CubeMapConvention::operator< ( const Value  other) const
inline

◆ operator<() [2/2]

bool G3D::CubeMapConvention::operator< ( const CubeMapConvention  other) const
inline

◆ operator<=() [1/2]

bool G3D::CubeMapConvention::operator<= ( const Value  other) const
inline

◆ operator<=() [2/2]

bool G3D::CubeMapConvention::operator<= ( const CubeMapConvention  other) const
inline

◆ operator=()

CubeMapConvention& G3D::CubeMapConvention::operator= ( const G3D::Any a)
inline

◆ operator==() [1/2]

bool G3D::CubeMapConvention::operator== ( const CubeMapConvention  other) const
inline

◆ operator==() [2/2]

bool G3D::CubeMapConvention::operator== ( const CubeMapConvention ::Value  other) const
inline

◆ operator>() [1/2]

bool G3D::CubeMapConvention::operator> ( const Value  other) const
inline

◆ operator>() [2/2]

bool G3D::CubeMapConvention::operator> ( const CubeMapConvention  other) const
inline

◆ operator>=() [1/2]

bool G3D::CubeMapConvention::operator>= ( const CubeMapConvention  other) const
inline

◆ operator>=() [2/2]

bool G3D::CubeMapConvention::operator>= ( const Value  other) const
inline

◆ serialize()

void G3D::CubeMapConvention::serialize ( G3D::BinaryOutput b) const
inline

◆ toAny()

G3D::Any G3D::CubeMapConvention::toAny ( ) const
inline

◆ toString()

const char* G3D::CubeMapConvention::toString ( ) const
inline

documentation generated on Wed Nov 24 2021 08:01:54 using doxygen 1.8.15