SDL3pp
A slim C++ wrapper for SDL3
|
Wraps SDL generated pointers to automatically freeing them. More...
Classes | |
struct | SDL::PtrDeleter |
Calls SDL_free() More... | |
class | SDL::OwnArray< T > |
Base class for SDL memory allocated array wrap. More... | |
Typedefs | |
template<class T > | |
using | SDL::OwnPtr = std::unique_ptr< T, PtrDeleter > |
Handle to an owned SDL memory allocated pointer. | |
template<class T > | |
using | SDL::RefArray = std::span< T > |
Handle to an owned SDL memory allocated array. | |
using SDL::OwnPtr = typedef std::unique_ptr<T, PtrDeleter> |
using SDL::RefArray = typedef std::span<T> |