#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "FontRasterizationMode.generated.h"
Go to the source code of this file.
|
| enum class | EFontRasterizationMode : uint8 { Bitmap
, UMETA =(DisplayName = "Multi-Channel Distance Field")
, UMETA =(DisplayName = "Signed Distance Field")
, UMETA =(DisplayName = "Approximate Signed Distance Field (fast)")
} |
| |
◆ 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.
|
◆ IsSdfFontRasterizationMode()
Returns true if the font rasterization Mode is one of the distance field-based modes, which are part of the "Slate SDF text" feature