rolmodl
C++ API for the Simple Directmedia Library 2 (SDL2)
Public Member Functions | Static Public Member Functions | List of all members
rolmodl::pixelfmt::PixelFmtStorage Class Reference

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
 
PixelFmtStorageoperator= (const PixelFmtStorage &that)=delete
 
PixelFmtStorageoperator= (PixelFmtStorage &&that)=delete
 

Static Public Member Functions

static const SDL_PixelFormat & get (const Id id)
 
static PixelFmtStorageinstance () noexcept
 
static SDL_PixelFormat ** unsafeRaw () noexcept
 

Detailed Description

PixelFormat storage to avoid allocating a new instance for every use.

Definition at line 218 of file PixelFmt.hpp.


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