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

Public Member Functions

void operator() (SDL_Surface *surface) const

Detailed Description

Definition at line 23 of file post.cpp.

Member Function Documentation

◆ operator()()

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

Definition at line 24 of file post.cpp.

24 {
25 if (surface != nullptr) {
26 SDL_DestroySurface(surface);
27 }
28 }

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