Skip to content

IRenderer.PixelSnapping Property

Definition

Namespace: Brine2D.Rendering

Gets or sets whether sprite/primitive vertex positions are snapped to whole pixels before submission to the GPU. Eliminates sub-pixel jitter for pixel-art games. Defaults to the value configured in PixelSnapping.

C#
bool PixelSnapping { get; set; }

Property Value

System.Boolean