libeditwl
Lightweight C++ library for Nintendo DS(i) formats
Loading...
Searching...
No Matches
twl::gfx::abgr8888::Color Struct Reference

Public Attributes

union { 
   struct { 
      u8   r 
      u8   g 
      u8   b 
      u8   a 
   }   clr
   u32   raw_val 
}; 

Static Public Attributes

static constexpr u32 RedShift = 0
static constexpr u32 RedBits = 8
static constexpr u32 GreenShift = 8
static constexpr u32 GreenBits = 8
static constexpr u32 BlueShift = 16
static constexpr u32 BlueBits = 8
static constexpr u32 AlphaShift = 24
static constexpr u32 AlphaBits = 8

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