Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ACG::GLFormatInfo Class Reference

Public Types

enum  BaseType { FloatingPt, SignedInt, UnsignedInt }

Public Member Functions

 GLFormatInfo (GLenum _internalFormat)
int channelSize (int i=0) const
int channelBits (int i) const
int channelCount () const
int elemSize () const
int bpp () const
GLenum internalFormat () const
GLenum format () const
GLenum type () const
bool isNormalized () const
bool isFloat () const
bool isUint () const
bool isInt () const
bool isValid () const
BaseType baseType () const
const char * sizedFormatString () const

Private Member Functions

 GLFormatInfo (GLenum _intfmt, GLenum _fmt, GLenum _type, int _r, int _g, int _b, int _a, BaseType _bt, bool _nrm)

Static Private Member Functions

static void registerFmt (GLenum _intfmt, GLenum _fmt, GLenum _type, int _r, int _g, int _b, int _a, BaseType _bt, bool _nrm)

Private Attributes

GLenum internalFormat_
GLenum format_
GLenum type_
int channelBits_ [4]
int channelCount_
int bpp_
BaseType baseType_
bool normalized_
char sizedName_ [32]

Static Private Attributes

static std::map< GLenum,

Detailed Description

Definition at line 71 of file GLFormatInfo.hh.

The documentation for this class was generated from the following files: