ScummVM API documentation
Ultima::Ultima8::U8PixelFormat Struct Reference
Inheritance diagram for Ultima::Ultima8::U8PixelFormat:
Graphics::PixelFormat

Public Attributes

byte rLoss16
 
byte gLoss16
 
byte bLoss16
 
byte aLoss16
 
uint32 rMask
 
uint32 gMask
 
uint32 bMask
 
uint32 aMask
 
- Public Attributes inherited from Graphics::PixelFormat
byte bytesPerPixel
 
byte rLoss
 
byte gLoss
 
byte bLoss
 
byte aLoss
 
byte rShift
 
byte gShift
 
byte bShift
 
byte aShift
 

Additional Inherited Members

- Public Member Functions inherited from Graphics::PixelFormat
 PixelFormat ()
 
 PixelFormat (byte BytesPerPixel, byte RBits, byte GBits, byte BBits, byte ABits, byte RShift, byte GShift, byte BShift, byte AShift)
 
bool operator== (const PixelFormat &fmt) const
 
bool operator!= (const PixelFormat &fmt) const
 
uint32 RGBToColor (uint8 r, uint8 g, uint8 b) const
 
template<class T >
uint32 RGBToColorT (uint8 r, uint8 g, uint8 b) const
 
uint32 ARGBToColor (uint8 a, uint8 r, uint8 g, uint8 b) const
 
template<class T >
uint32 ARGBToColorT (uint8 a, uint8 r, uint8 g, uint8 b) const
 
void colorToRGB (uint32 color, uint8 &r, uint8 &g, uint8 &b) const
 
template<class T >
void colorToRGBT (uint32 color, uint8 &r, uint8 &g, uint8 &b) const
 
void colorToARGB (uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) const
 
template<class T >
void colorToARGBT (uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) const
 
Common::String toString () const
 
template<>
uint32 RGBToColorT (uint8 r, uint8 g, uint8 b) const
 
template<>
uint32 ARGBToColorT (uint8 a, uint8 r, uint8 g, uint8 b) const
 
template<>
void colorToRGBT (uint32 color, uint8 &r, uint8 &g, uint8 &b) const
 
template<>
void colorToARGBT (uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) const
 
byte rBits () const
 
byte gBits () const
 
byte bBits () const
 
byte aBits () const
 
byte bpp () const
 
uint rMax () const
 
uint gMax () const
 
uint bMax () const
 
uint aMax () const
 
- Static Public Member Functions inherited from Graphics::PixelFormat
static PixelFormat createFormatCLUT8 ()
 
static uint expand (uint bits, uint color)
 

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