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

Graphics::ColorMasks< 4444 > Struct Template Reference

#include <colormasks.h>

List of all members.

Public Types

enum  {
  kBytesPerPixel = 2, kAlphaBits = 4, kRedBits = 4, kGreenBits = 4,
  kBlueBits = 4, 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
}

Detailed Description

template<>
struct Graphics::ColorMasks< 4444 >

Definition at line 192 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 193 of file colormasks.h.


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


Generated on Sat Jun 22 2019 05:03:35 for ResidualVM by doxygen 1.7.1
curved edge   curved edge