Support Forum       G3D Web Page     
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
G3D::Texture::TexelType Class Reference

Public Types

enum  Value {
  FLOAT,
  INTEGER,
  UNSIGNED_INTEGER
}
 

Public Member Functions

 TexelType (const G3D::String &x)
 
 TexelType (char v)
 
 TexelType (int v)
 
 TexelType (const G3D::Any &a)
 
 TexelType ()
 
 TexelType (const Value v)
 
void deserialize (G3D::BinaryInput &b)
 
unsigned int hashCode () const
 
 operator int () const
 
bool operator!= (const TexelType ::Value other) const
 
bool operator!= (const TexelType other) const
 
TexelType operator+ (const int x) const
 
TexelTypeoperator++ ()
 
TexelTypeoperator+= (const int x)
 
TexelType operator- (const int x) const
 
TexelTypeoperator-- ()
 
TexelTypeoperator-= (const int x)
 
bool operator< (const TexelType other) const
 
bool operator< (const Value other) const
 
bool operator<= (const Value other) const
 
bool operator<= (const TexelType other) const
 
TexelTypeoperator= (const G3D::Any &a)
 
bool operator== (const TexelType ::Value other) const
 
bool operator== (const TexelType other) const
 
bool operator> (const TexelType other) const
 
bool operator> (const Value other) const
 
bool operator>= (const TexelType 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)
 
static const char * toString (int i, Value &v)
 

Public Attributes

enum G3D::Texture::TexelType::Value value
 

Member Enumeration Documentation

◆ Value

Enumerator
FLOAT 
INTEGER 
UNSIGNED_INTEGER 

Constructor & Destructor Documentation

◆ TexelType() [1/6]

G3D::Texture::TexelType::TexelType ( const G3D::String x)
inlineexplicit

◆ TexelType() [2/6]

G3D::Texture::TexelType::TexelType ( const G3D::Any a)
inlineexplicit

◆ TexelType() [3/6]

G3D::Texture::TexelType::TexelType ( char  v)
inlineexplicit

◆ TexelType() [4/6]

G3D::Texture::TexelType::TexelType ( )
inline

◆ TexelType() [5/6]

G3D::Texture::TexelType::TexelType ( const Value  v)
inline

◆ TexelType() [6/6]

G3D::Texture::TexelType::TexelType ( int  v)
inlineexplicit

Member Function Documentation

◆ classname()

static const char* G3D::Texture::TexelType::classname ( )
inlinestatic

◆ count()

static int G3D::Texture::TexelType::count ( )
inlinestatic

◆ deserialize()

void G3D::Texture::TexelType::deserialize ( G3D::BinaryInput b)
inline

◆ hashCode()

unsigned int G3D::Texture::TexelType::hashCode ( ) const
inline

◆ nthValue()

static Value G3D::Texture::TexelType::nthValue ( int  n)
inlinestatic

◆ operator int()

G3D::Texture::TexelType::operator int ( ) const
inline

◆ operator!=() [1/2]

bool G3D::Texture::TexelType::operator!= ( const TexelType  other) const
inline

◆ operator!=() [2/2]

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

◆ operator+()

TexelType G3D::Texture::TexelType::operator+ ( const int  x) const
inline

◆ operator++()

TexelType& G3D::Texture::TexelType::operator++ ( )
inline

◆ operator+=()

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

◆ operator-()

TexelType G3D::Texture::TexelType::operator- ( const int  x) const
inline

◆ operator--()

TexelType& G3D::Texture::TexelType::operator-- ( )
inline

◆ operator-=()

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

◆ operator<() [1/2]

bool G3D::Texture::TexelType::operator< ( const Value  other) const
inline

◆ operator<() [2/2]

bool G3D::Texture::TexelType::operator< ( const TexelType  other) const
inline

◆ operator<=() [1/2]

bool G3D::Texture::TexelType::operator<= ( const TexelType  other) const
inline

◆ operator<=() [2/2]

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

◆ operator=()

TexelType& G3D::Texture::TexelType::operator= ( const G3D::Any a)
inline

◆ operator==() [1/2]

bool G3D::Texture::TexelType::operator== ( const TexelType ::Value  other) const
inline

◆ operator==() [2/2]

bool G3D::Texture::TexelType::operator== ( const TexelType  other) const
inline

◆ operator>() [1/2]

bool G3D::Texture::TexelType::operator> ( const TexelType  other) const
inline

◆ operator>() [2/2]

bool G3D::Texture::TexelType::operator> ( const Value  other) const
inline

◆ operator>=() [1/2]

bool G3D::Texture::TexelType::operator>= ( const TexelType  other) const
inline

◆ operator>=() [2/2]

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

◆ serialize()

void G3D::Texture::TexelType::serialize ( G3D::BinaryOutput b) const
inline

◆ toAny()

G3D::Any G3D::Texture::TexelType::toAny ( ) const
inline

◆ toString() [1/2]

const char* G3D::Texture::TexelType::toString ( ) const
inline

◆ toString() [2/2]

static const char* G3D::Texture::TexelType::toString ( int  i,
Value v 
)
inlinestatic

Member Data Documentation

◆ value

enum G3D::Texture::TexelType::Value G3D::Texture::TexelType::value

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