UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FontRasterizationMode.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "FontRasterizationMode.generated.h"

Go to the source code of this file.

Enumerations

enum class  EFontRasterizationMode : uint8 { Bitmap , UMETA =(DisplayName = "Multi-Channel Distance Field") , UMETA =(DisplayName = "Signed Distance Field") , UMETA =(DisplayName = "Approximate Signed Distance Field (fast)") }
 

Functions

bool IsSdfFontRasterizationMode (EFontRasterizationMode Mode)
 

Enumeration Type Documentation

◆ EFontRasterizationMode

Enumerates supported font rasterization modes.

Enumerator
Bitmap 

Glyphs are rasterized directly into alpha mask bitmaps per size and skew.

UMETA 

Glyphs are rasterized into multi-channel signed distance fields, which are size and skew agnostic.

UMETA 

Glyphs are rasterized into single-channel signed distance fields, which are size and skew agnostic. More memory efficient but corners may appear rounded.

UMETA 

Glyphs are rasterized into approximate distance fields, which are size and skew agnostic. More memory and computationally efficient but lower quality.

Function Documentation

◆ IsSdfFontRasterizationMode()

bool IsSdfFontRasterizationMode ( EFontRasterizationMode  Mode)
inline

Returns true if the font rasterization Mode is one of the distance field-based modes, which are part of the "Slate SDF text" feature