Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
RageSurfaceFormat Struct Reference
Collaboration diagram for RageSurfaceFormat:
Collaboration graph
[legend]

Public Member Functions

 RageSurfaceFormat (const RageSurfaceFormat &cpy)
 
void GetRGB (uint32_t val, uint8_t *r, uint8_t *g, uint8_t *b) const
 
auto MapRGBA (uint8_t r, uint8_t g, uint8_t b, uint8_t a, uint32_t &val) const -> bool
 
auto MapNearestRGBA (uint8_t r, uint8_t g, uint8_t b, uint8_t a) const -> uint32_t
 
auto operator== (const RageSurfaceFormat &rhs) const -> bool
 
auto Equivalent (const RageSurfaceFormat &rhs) const -> bool
 

Public Attributes

int32_t BytesPerPixel = 1
 
int32_t BitsPerPixel = 8
 
uint32_t Mask [4]
 
uint32_t Shift [4]
 
uint8_t Loss [4]
 
uint32_t & Rmask
 
uint32_t & Gmask
 
uint32_t & Bmask
 
uint32_t & Amask
 
uint32_t & Rshift
 
uint32_t & Gshift
 
uint32_t & Bshift
 
uint32_t & Ashift
 
RageSurfacePalettepalette
 

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