Skip to content

GraphicsAPI reference

Enum TextureFilter

Namespace: MicroEngine.Graphics
Assembly: MicroEngine.Graphics2D.dll
Guide: Graphics

How a texture is sampled when it is drawn bigger or smaller than its pixels, or between them: Nearest keeps hard pixel edges (pixel art), Linear blends neighbouring pixels (smooth, high-resolution art and text).

C#
public enum TextureFilter

Fields

Linear = 1

Nearest = 0