MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
surface::SurfaceDeleter Struct Reference

Public Member Functions

void operator() (SDL_Surface *surface) const
void operator() (SDL_Surface *surface) const

Detailed Description

Definition at line 49 of file surface.cpp.

Member Function Documentation

◆ operator()() [1/2]

void surface::SurfaceDeleter::operator() ( SDL_Surface * surface) const
inline

Definition at line 50 of file surface.cpp.

50 {
51 if (surface != nullptr) {
52 SDL_DestroySurface(surface);
53 }
54 }

◆ operator()() [2/2]

void surface::SurfaceDeleter::operator() ( SDL_Surface * surface) const
inline

Definition at line 14 of file surface.cpp.

14 {
15 if (surface != nullptr) {
16 SDL_DestroySurface(surface);
17 }
18 }

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