Skip to content

TextureAtlasOptions Class

Definition

Namespace: Brine2D.Rendering.TextureAtlas

Configuration options for texture atlasing. Part of the ASP.NET-style options pattern.

C#
public class TextureAtlasOptions

Inheritance System.Object → TextureAtlasOptions

Properties
DefaultScaleMode Default texture scale mode for atlases \(default: Nearest\).
MaxAtlasHeight Maximum height for generated atlases \(default: 2048\).
MaxAtlasWidth Maximum width for generated atlases \(default: 2048\).
Padding Padding between sprites in pixels \(default: 2\). Prevents texture bleeding with bilinear filtering.
UsePowerOfTwo Whether to use power-of-two dimensions \(default: true\).