Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Filter Enum

Add this in your code:

#include <engine/graphics/texture.h>

Description

Enum to define how a texture should be filtered.

Values


NameDescription
PointPoint filtering selects the nearest texel without interpolation, giving a sharp, pixelated look
BilinearBilinear filtering smooths textures by interpolating between the four nearest texels, resulting in a softer, more blended appearance