Assimp  v3.0 (July 2012)
Public Member Functions | Public Attributes
aiTexel Struct Reference

Helper structure to represent a texel in a ARGB8888 format. More...

List of all members.

Public Member Functions

 operator aiColor4D () const
 Conversion to a floating-point 4d color.
bool operator!= (const aiTexel &other) const
 Inverse comparison operator.
bool operator== (const aiTexel &other) const
 Comparison operator.

Public Attributes

unsigned char a
unsigned char b
unsigned char g
unsigned char r

Detailed Description

Helper structure to represent a texel in a ARGB8888 format.

Used by aiTexture.


Member Function Documentation

aiTexel::operator aiColor4D ( ) const
inline

Conversion to a floating-point 4d color.

bool aiTexel::operator!= ( const aiTexel other) const
inline

Inverse comparison operator.

bool aiTexel::operator== ( const aiTexel other) const
inline

Comparison operator.


Member Data Documentation

unsigned char aiTexel::a
unsigned char aiTexel::b
unsigned char aiTexel::g
unsigned char aiTexel::r

The documentation for this struct was generated from the following file: