Btk
Btk::PixFmt Class Reference

Pixels format detail. More...

#include <pixels.hpp>

Public Member Functions

 PixFmt (Uint32 pix_fmt)
 
 PixFmt (const PixFmt &pixfmt)
 
 PixFmt (PixFmt &&f)
 
Uint32 map_rgb (Uint8 r, Uint8 g, Uint8 b) const
 
Uint32 map_rgba (Uint8 r, Uint8 g, Uint8 b, Uint8 a) const
 
Uint32 map_rgb (Color color) const
 
Uint32 map_rgba (Color color) const
 
std::string_view name () const
 
SDL_PixelFormat * operator-> () const noexcept
 
 operator Uint32 () const noexcept
 

Detailed Description

Pixels format detail.


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