rolmodl
C++ API for the Simple Directmedia Library 2 (SDL2)
|
PixelFormat storage to avoid allocating a new instance for every use. More...
#include <PixelFmt.hpp>
Public Member Functions | |
PixelFmtStorage (const PixelFmtStorage &that)=delete | |
PixelFmtStorage (PixelFmtStorage &&that)=delete | |
PixelFmtStorage & | operator= (const PixelFmtStorage &that)=delete |
PixelFmtStorage & | operator= (PixelFmtStorage &&that)=delete |
Static Public Member Functions | |
static const SDL_PixelFormat & | get (const Id id) |
static PixelFmtStorage & | instance () noexcept |
static SDL_PixelFormat ** | unsafeRaw () noexcept |
PixelFormat storage to avoid allocating a new instance for every use.
Definition at line 218 of file PixelFmt.hpp.