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

Public Attributes

union { 
   struct { 
      u16   r: 5 
      u16   g: 5 
      u16   b: 5 
      u16   x: 1 
   }   clr
   u16   raw_val 
}; 

Static Public Attributes

static constexpr u32 RedShift = 0
static constexpr u32 RedBits = 5
static constexpr u32 GreenShift = 5
static constexpr u32 GreenBits = 5
static constexpr u32 BlueShift = 10
static constexpr u32 BlueBits = 5
static constexpr u32 AlphaShift = 0
static constexpr u32 AlphaBits = 0

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