libnedit
Lightweight C++ library for Nintendo DS(i) formats
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
ntr::gfx::abgr1555::Color Struct Reference

Public Attributes

union { 
 
   struct { 
 
      u16   r: 5 
 
      u16   g: 5 
 
      u16   b: 5 
 
      u16   a: 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 = 15
 
static constexpr u32 AlphaBits = 1
 

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