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

Graphics::ColorMasks< 5551 > Struct Template Reference

#include <colormasks.h>

List of all members.

Public Types

enum  {
  kBytesPerPixel = 2, kAlphaBits = 1, kRedBits = 5, kGreenBits = 5,
  kBlueBits = 5, kAlphaShift = 0, kRedShift = kGreenBits+kBlueBits+kAlphaBits, kGreenShift = kBlueBits+kAlphaBits,
  kBlueShift = kAlphaBits, kAlphaMask = ((1 << kAlphaBits) - 1) << kAlphaShift, kRedMask = ((1 << kRedBits) - 1) << kRedShift, kGreenMask = ((1 << kGreenBits) - 1) << kGreenShift,
  kBlueMask = ((1 << kBlueBits) - 1) << kBlueShift, kRedBlueMask = kRedMask | kBlueMask
}
typedef uint16 PixelType

Detailed Description

template<>
struct Graphics::ColorMasks< 5551 >

Definition at line 174 of file colormasks.h.


Member Typedef Documentation

Definition at line 196 of file colormasks.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
kBytesPerPixel 
kAlphaBits 
kRedBits 
kGreenBits 
kBlueBits 
kAlphaShift 
kRedShift 
kGreenShift 
kBlueShift 
kAlphaMask 
kRedMask 
kGreenMask 
kBlueMask 
kRedBlueMask 

Definition at line 175 of file colormasks.h.


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


Generated on Sat Nov 16 2019 05:02:54 for ResidualVM by doxygen 1.7.1
curved edge   curved edge