UFontBulkData

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Fonts/FontBulkData.h

Include

#include "Fonts/FontBulkData.h"

Syntax

class UFontBulkData : public UObject

Constructors

Name Description

Public function

UFontBulkData()

Default constructor

Functions

Name Description

Public function Const

int32

 

GetBulkDataSize()

Returns the size of the bulk data in bytes

Public function

void

 

Initialize

(
    const FString& InFontFilename
)

Construct the bulk font data from the given file

Public function

void

 

Initialize

(
    const void*const InFontData,
    const int32 InFontDataSizeBytes
)

Construct the bulk font data from the given data

Public function Const

const void &...

 

Lock

(
    int32& OutFontDataSizeBytes
)

Locks the bulk font data and returns a read-only pointer to it

Public function

void

 

Unlock()

Unlock the bulk font data, after which point the pointer returned by Lock no longer is valid

Overridden from UObject

Name Description

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Deprecated Functions

Name Description

Public function Const

int32

 

GetBulkDataSizeOnDisk()

This method should no longer be used

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss