ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Graphics::ColorMasks< 8888 > Struct Template Reference

#include <colormasks.h>

List of all members.

Public Types

enum  {
  kBytesPerPixel = 4, kAlphaBits = 8, kRedBits = 8, kGreenBits = 8,
  kBlueBits = 8, kAlphaShift = kRedBits+kGreenBits+kBlueBits, kRedShift = kGreenBits+kBlueBits, kGreenShift = kBlueBits,
  kBlueShift = 0, kAlphaMask = ((1 << kAlphaBits) - 1) << kAlphaShift, kRedMask = ((1 << kRedBits) - 1) << kRedShift, kGreenMask = ((1 << kGreenBits) - 1) << kGreenShift,
  kBlueMask = ((1 << kBlueBits) - 1) << kBlueShift, kRedBlueMask = kRedMask | kBlueMask, kLowBits = (1 << kRedShift) | (1 << kGreenShift) | (1 << kBlueShift) | (1 << kAlphaShift), kLow2Bits = (3 << kRedShift) | (3 << kGreenShift) | (3 << kBlueShift) | (3 << kAlphaShift),
  kLow3Bits = (7 << kRedShift) | (7 << kGreenShift) | (7 << kBlueShift) | (7 << kAlphaShift), kLow4Bits = (15 << kRedShift) | (15 << kGreenShift) | (15 << kBlueShift) | (15 << kAlphaShift), kLowBitsMask = kLowBits, kHighBitsMask = ~kLowBits,
  qlowBits = kLow2Bits, qhighBits = ~kLow2Bits
}
typedef uint32 PixelType

Detailed Description

template<>
struct Graphics::ColorMasks< 8888 >

Definition at line 270 of file colormasks.h.


Member Typedef Documentation

Definition at line 302 of file colormasks.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
kBytesPerPixel 
kAlphaBits 
kRedBits 
kGreenBits 
kBlueBits 
kAlphaShift 
kRedShift 
kGreenShift 
kBlueShift 
kAlphaMask 
kRedMask 
kGreenMask 
kBlueMask 
kRedBlueMask 
kLowBits 
kLow2Bits 
kLow3Bits 
kLow4Bits 
kLowBitsMask 
kHighBitsMask 
qlowBits 
qhighBits 

Definition at line 271 of file colormasks.h.


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


Generated on Sat Jul 13 2019 05:03:56 for ResidualVM by doxygen 1.7.1
curved edge   curved edge