How a texture is sampled when drawn larger or smaller than its size: LINEAR blends, NEAREST picks one texel.
texture: Texture;
texture_load_from_file(*texture, "sprite.png");
texture_set_filter(*texture, .NEAREST); // crisp pixelsThis one is only checked to compile, not run.
Members
- LINEAR
- NEAREST