#include <string>
#include <vector>
#include <SDL3/SDL.h>
#include "../utils/logger.hpp"
#include <cereal/archives/json.hpp>
#include <box2d/types.h>
Go to the source code of this file.
◆ TextureScaling
This enum defines how the texture is rendered and scaled.
Linear scaling will smooth the values between pixels, while nearest neighbour scaling will use an average. Pixel art scaling exists due to SDL3, and I recommend you use it for pixel art textures instead of nearest neighbour.
| Enumerator |
|---|
| INVALID | |
| NEAREST | |
| LINEAR | |
| PIXELART | |