Skip to content

TextureAtlasOptions.Extrude Property

Definition

Namespace: Brine2D.Rendering.TextureAtlas

When greater than zero, duplicates the outermost row/column of each sprite into the surrounding padding by this many pixels. Prevents transparent-edge bleed when using linear \(bilinear\) filtering. Only effective when Padding is at least as large as this value. Default: 0 \(no extrusion\).

C#
public int Extrude { get; set; }

Property Value

System.Int32