Struct PackedGlyphData
Pre-computed glyph data for direct stamping into Cell structs.
Inherited Members
Namespace: Scylla.TextMode
Assembly: ScyllaTextMode.dll
Syntax
public struct PackedGlyphData
Fields
AtlasIndex
Atlas texture index for multi-atlas fonts.
Declaration
public int AtlasIndex
Field Value
| Type | Description |
|---|---|
| int |
AtlasRectPacked
Packed atlas rect UV size as two half-precision floats (width, height in UV space).
Declaration
public uint AtlasRectPacked
Field Value
| Type | Description |
|---|---|
| uint |
AtlasUVPacked
Packed atlas UV origin (2x half16).
Declaration
public uint AtlasUVPacked
Field Value
| Type | Description |
|---|---|
| uint |
EdgeMask
Edge-touching flags indicating which cell edges the glyph is designed to reach. Used by the shader to clamp SDF sampling at cell boundaries and prevent seams.
Declaration
public CellAttributes EdgeMask
Field Value
| Type | Description |
|---|---|
| CellAttributes |
See Also
MetricsPacked
Packed glyph bearings as two half-precision floats (bearingX, bearingY).
Declaration
public uint MetricsPacked
Field Value
| Type | Description |
|---|---|
| uint |
MetricsWHPacked
Packed glyph metrics width and height as two half-precision floats (font metric units). These are the logical glyph dimensions from the font's metrics table.
Declaration
public uint MetricsWHPacked
Field Value
| Type | Description |
|---|---|
| uint |