Navigation
API > API/Runtime > API/Runtime/SlateCore
| Name | UFontBulkData |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontBulkData.h |
| Include Path | #include "Fonts/FontBulkData.h" |
Syntax
UCLASS (MinimalAPI)
class UFontBulkData : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UFontBulkData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UFontBulkData() |
Default constructor | Fonts/FontBulkData.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BulkData | FByteBulkData | Internal bulk data | Fonts/FontBulkData.h | |
| CriticalSection | FCriticalSection | Critical section to prevent concurrent access when locking the internal bulk data | Fonts/FontBulkData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int64 GetBulkDataSize() |
Returns the size of the bulk data in bytes | Fonts/FontBulkData.h | |
void Initialize
(
const FString& InFontFilename |
Construct the bulk font data from the given file | Fonts/FontBulkData.h | |
void Initialize
(
const void*const InFontData, |
Construct the bulk font data from the given data | Fonts/FontBulkData.h | |
const void * Lock
(
int64& OutFontDataSizeBytes |
Locks the bulk font data and returns a read-only pointer to it | Fonts/FontBulkData.h | |
void Unlock() |
Unlock the bulk font data, after which point the pointer returned by Lock no longer is valid | Fonts/FontBulkData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Serialize
(
FArchive& Ar |
Fonts/FontBulkData.h |