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

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

#include <Texture.h>

Public Member Functions

void operator() (SDL_Texture *sdlTexture)
 Call the SDL API to destroy an SDL_Texture. More...
 

Detailed Description

A functor to destroy an SDL_Texture in a std::unique_ptr (rose::sdl::Texture)

Member Function Documentation

◆ operator()()

void rose::sdl::TextureDestroy::operator() ( SDL_Texture *  sdlTexture)
inline

Call the SDL API to destroy an SDL_Texture.

Parameters
sdlTextureA pointer to the SDL_Texture to destroy.

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