|
libAlgAudio
v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
|
#include <SDLTexture.hpp>
Public Member Functions | |
| SDLTextTexture (std::weak_ptr< Window > parent_window, SDL_Surface *s) | |
| SDLTextTexture (std::weak_ptr< Window > parent_window, Size2D s) | |
Public Member Functions inherited from AlgAudio::SDLTexture | |
| Size2D | GetSize () |
| SDLTexture & | operator= (const SDLTexture &other)=delete |
| void | Resize (Size2D size) |
| SDLTexture (std::weak_ptr< Window > parent_window, Size2D size) | |
| SDLTexture (std::weak_ptr< Window > parent_window, SDL_Surface *) | |
| SDLTexture (const SDLTexture &other)=delete | |
| ~SDLTexture () | |
A speciallized texture type. Text textures are cached in 100% white, and modulated to desired color when rendering onto another texture. This is because alpha blend cache misbehaves when rendering onto an empty cache textures, leading to artefacts on letter edges.
|
inline |