Rose
Public Member Functions | List of all members
rose::sdl::PixelFormatDestroy Class Reference

A functor to destroy an SDL_PixelFormat in a std::unique_ptr (rose::sdl::PixelFormat) More...

#include <Texture.h>

Public Member Functions

void operator() (SDL_PixelFormat *sdlPixelFormat)
 Call the SDL API to free an SDL_PixelFormat. More...
 

Detailed Description

A functor to destroy an SDL_PixelFormat in a std::unique_ptr (rose::sdl::PixelFormat)

Member Function Documentation

◆ operator()()

void rose::sdl::PixelFormatDestroy::operator() ( SDL_PixelFormat *  sdlPixelFormat)
inline

Call the SDL API to free an SDL_PixelFormat.

Parameters
sdlPixelFormatA pointer to the SDL_PixelFormat to free.

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