13#include <SDL3_mixer/SDL_mixer.h>
14#include <SDL3_ttf/SDL_ttf.h>
27 None = SDL_BLENDMODE_NONE,
28 Blend = SDL_BLENDMODE_BLEND,
30 Add = SDL_BLENDMODE_ADD,
36static_assert(std::is_same_v<std::underlying_type_t<BlendMode>, SDL_BlendMode>,
37 "BlendMode must share SDL_BlendMode's underlying type");
47using Texture = std::shared_ptr<SDL_Texture>;
50using Font = std::shared_ptr<TTF_Font>;
53using Sample = std::shared_ptr<MIX_Audio>;
56using Music = std::shared_ptr<MIX_Audio>;
std::shared_ptr< TTF_Font > Font
Alias for a shared pointer to an TTF_Font.
std::shared_ptr< MIX_Audio > Sample
Alias for a shared pointer to an MIX_Audio.
std::shared_ptr< SDL_Texture > Texture
Alias for a shared pointer to an SDL_Texture.
std::shared_ptr< MIX_Audio > Music
Alias for a shared pointer to an MIX_Audio.
BlendMode
Mappings from SDL_BLENDMODE to ASW BlendMode.
SDL_Window Window
Alias for a shared pointer to an SDL_Window.
TextJustify
Text justification options for text rendering.
SDL_Renderer Renderer
Alias for a shared pointer to an SDL_Renderer.