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

Graphics::ColorMasks< 555 > Struct Template Reference

#include <colormasks.h>

List of all members.

Public Types

enum  {
  kHighBitsMask = 0x7BDE7BDE, kLowBitsMask = 0x04210421, qhighBits = 0x739C739C, qlowBits = 0x0C630C63,
  kBytesPerPixel = 2, kAlphaBits = 0, kRedBits = 5, kGreenBits = 5,
  kBlueBits = 5, kAlphaShift = 0, 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), kLow2Bits = (3 << kRedShift) | (3 << kGreenShift) | (3 << kBlueShift),
  kLow3Bits = (7 << kRedShift) | (7 << kGreenShift) | (7 << kBlueShift)
}

Detailed Description

template<>
struct Graphics::ColorMasks< 555 >

Definition at line 102 of file colormasks.h.


Member Enumeration Documentation

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

Definition at line 103 of file colormasks.h.


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


Generated on Sat Jan 12 2019 05:04:18 for ResidualVM by doxygen 1.7.1
curved edge   curved edge