Skip to content

TextStudio2DRouteReason

EnumTextStudioTextStudio
public enum TextStudio2DRouteReason : byte

The first condition that selected a route. Diagnostics report it verbatim.

None = 0

Returns

TextStudio.TextStudio2DRouteReason

CompactField = 1

Every operation fits the source quad padding and one fused program.

Returns

TextStudio.TextStudio2DRouteReason

GeometrySupport = 2

Shadow or depth translation, or depth taper, reaches beyond the source quad padding.

Returns

TextStudio.TextStudio2DRouteReason

IsolatedOperations = 3

Bevel, depth, material, graphic or animated effect rows draw as single-operation primitives.

Returns

TextStudio.TextStudio2DRouteReason

OperationSpans = 4

More than eight operations draw as consecutive fused spans.

Returns

TextStudio.TextStudio2DRouteReason

RetainedGeometry = 5

Retained decoration, stroke or depth geometry draws in painter order with the field rows.

Returns

TextStudio.TextStudio2DRouteReason

WorldBatchGroup = 6

A TextStudio.TextStudioWorldBatchGroup draws the text’s primitives in its shared shards.

Returns

TextStudio.TextStudio2DRouteReason

ScopedAppearance = 7

Scoped appearance occurrences draw their programs as ordered primitives.

Returns

TextStudio.TextStudio2DRouteReason

EngineOwnedOutput = 8

A text engine’s published glyphs draw as ordered primitives in place of its native output.

Returns

TextStudio.TextStudio2DRouteReason

LensMagnifier = 16

An exact lens magnifier renders the text in isolation.

Returns

TextStudio.TextStudio2DRouteReason

CompositorExecution = 17

An operation explicitly requests the compositor.

Returns

TextStudio.TextStudio2DRouteReason

BlendMode = 18

A non-normal blend reads the composed backdrop.

Returns

TextStudio.TextStudio2DRouteReason

GroupOrMask = 19

Groups or masks need an isolated surface.

Returns

TextStudio.TextStudio2DRouteReason

GlyphMajorOrder = 20

Glyph-major painter order interleaves every operation per glyph across overlapping glyphs.

Returns

TextStudio.TextStudio2DRouteReason

PixelUnitDepth = 21

Pixel-unit depth needs target-pixel coverage.

Returns

TextStudio.TextStudio2DRouteReason

InlineMedia = 22

Inline sprites or media are composited with the styled text.

Returns

TextStudio.TextStudio2DRouteReason

FieldRange = 23

A sampled field reach exceeds the available signed-distance range.

Returns

TextStudio.TextStudio2DRouteReason

OccurrenceOpacity = 24

Scoped appearance opacity or tint applies to the composed occurrence as a group.

Returns

TextStudio.TextStudio2DRouteReason

UnsupportedDirectOperation = 25

An operation cannot run as a direct primitive.

Returns

TextStudio.TextStudio2DRouteReason

NativeFaceLayering = 26

A native source face layered with other rows keeps its complete native contribution in isolation.

Returns

TextStudio.TextStudio2DRouteReason

EngineKeepsNativeOutput = 27

The text engine keeps its native output because engine-owned output cannot draw this route yet.

Returns

TextStudio.TextStudio2DRouteReason