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
}
typedef uint16 PixelType

Detailed Description

template<>
struct Graphics::ColorMasks< 4444 >

Definition at line 200 of file colormasks.h.


Member Typedef Documentation

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


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


Generated on Sat Oct 19 2019 05:05:23 for ResidualVM by doxygen 1.7.1
curved edge   curved edge