Table of Contents

Class BatchOptions

Namespace
KernSmith
Assembly
KernSmith.dll

Options controlling batch font generation behavior.

public sealed class BatchOptions
Inheritance
BatchOptions
Inherited Members

Properties

AtlasMode

Whether to generate separate or combined atlas textures. Default is Separate.

public BatchAtlasMode AtlasMode { get; init; }

Property Value

BatchAtlasMode

CombinedMaxTextureHeight

Maximum combined atlas texture height when using Combined.

public int CombinedMaxTextureHeight { get; init; }

Property Value

int

CombinedMaxTextureWidth

Maximum combined atlas texture width when using Combined.

public int CombinedMaxTextureWidth { get; init; }

Property Value

int

FontCache

Optional shared font cache. If null, a temporary cache is created internally.

public FontCache? FontCache { get; init; }

Property Value

FontCache

MaxParallelism

Max parallel jobs. Default 1 (sequential). 0 = Environment.ProcessorCount.

public int MaxParallelism { get; init; }

Property Value

int