Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
aiTexel Struct Reference

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

#include <texture.h>

Public Member Functions

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

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

◆ operator aiColor4D()

aiTexel::operator aiColor4D ( ) const
inline

Conversion to a floating-point 4d color.

◆ operator!=()

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

Inverse comparison operator.

◆ operator==()

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

Comparison operator.

Member Data Documentation

◆ a

unsigned char aiTexel::a

◆ b

unsigned char aiTexel::b

◆ g

unsigned char aiTexel::g

◆ r

unsigned char aiTexel::r

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