UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSdfGlyphFontAtlasData Struct Reference

#include <FontCache.h>

Classes

struct  FMetrics
 

Public Attributes

int16 VerticalOffset = 0
 
int16 HorizontalOffset = 0
 
uint16 StartU = 0
 
uint16 StartV = 0
 
uint16 USize = 0
 
uint16 VSize = 0
 
float EmOuterSpread = 0.f
 
float EmInnerSpread = 0.f
 
FMetrics Metrics
 
uint8 TextureIndex = 0
 
bool bSupportsSdf = false
 
bool bPendingRespawn = false
 
bool Valid = false
 

Detailed Description

The font atlas data for a single distance field-based glyph

Member Data Documentation

◆ bPendingRespawn

bool FSdfGlyphFontAtlasData::bPendingRespawn = false

True if the SDF is a placeholder and the task for its final version hasn't been spawned yet (due to too many running tasks)

◆ bSupportsSdf

bool FSdfGlyphFontAtlasData::bSupportsSdf = false

True if the glyph is available in the face but sdf generation was not possible/successful

◆ EmInnerSpread

float FSdfGlyphFontAtlasData::EmInnerSpread = 0.f

Inner portion of the spread of representable distances, in em

◆ EmOuterSpread

float FSdfGlyphFontAtlasData::EmOuterSpread = 0.f

Outer portion of the spread of representable distances, in em

◆ HorizontalOffset

int16 FSdfGlyphFontAtlasData::HorizontalOffset = 0

The horizontal distance from the origin to the leftmost border of the glyph sdf raster

◆ Metrics

FMetrics FSdfGlyphFontAtlasData::Metrics

◆ StartU

uint16 FSdfGlyphFontAtlasData::StartU = 0

Start X location of the sdf raster in the texture

◆ StartV

uint16 FSdfGlyphFontAtlasData::StartV = 0

Start Y location of the sdf raster in the texture

◆ TextureIndex

uint8 FSdfGlyphFontAtlasData::TextureIndex = 0

Index to a specific texture in the font cache.

◆ USize

uint16 FSdfGlyphFontAtlasData::USize = 0

Width of the sdf raster in the texture

◆ Valid

bool FSdfGlyphFontAtlasData::Valid = false

True if this entry is valid, false otherwise.

◆ VerticalOffset

int16 FSdfGlyphFontAtlasData::VerticalOffset = 0

The vertical distance from the baseline to the topmost border of the glyph sdf raster

◆ VSize

uint16 FSdfGlyphFontAtlasData::VSize = 0

Height of the sdf raster in the texture


The documentation for this struct was generated from the following file: