MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
defender_assets.cpp File Reference
#include "defender_assets.hpp"
#include "defender_entities.hpp"
#include "mxvk/mxvk_exception.hpp"
#include "mxvk/mxvk_png.hpp"
#include <SDL3/SDL.h>
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  defender

Functions

SpriteAlphaBounds defender::calculate_alpha_bounds (SDL_Surface *surface, std::uint8_t threshold)
SDL_Surface * defender::load_light_background_png (const std::string &path)