#include "sdl/point.hpp"
#include "sdl/rect.hpp"
#include <SDL2/SDL_hints.h>
#include <SDL2/SDL_render.h>
#include <memory>
Go to the source code of this file.
Classes | |
class | texture |
Wrapper class to encapsulate creation and management of an SDL_Texture. More... | |
struct | texture::info |
Small wrapper that queries metadata about the provided texture. More... | |
Functions | |
void | set_texture_scale_quality (const char *value) |
Sets the texture scale quality. More... | |
|
inline |
Sets the texture scale quality.
Note this should be called before a texture is created, since the hint has no effect on existing textures or render ops.
value | The scaling mode. Use either "linear" or "nearest". |
Definition at line 227 of file texture.hpp.
Referenced by image::prep_minimap_for_rendering().