Navigation
API > API/Runtime > API/Runtime/MeshUtilitiesCommon
| Name | FAllocator2D |
| Type | class |
| Header File | /Engine/Source/Runtime/MeshUtilitiesCommon/Public/Allocator2D.h |
| Include Path | #include "Allocator2D.h" |
Syntax
class FAllocator2D
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAllocator2D
(
const FAllocator2D& Other |
Take control of the copy assignment to reduce the amount of data movement to the strict minimum. | Allocator2D.h | |
FAllocator2D
(
EMode Mode, |
Allocator2D.h |
Structs
Enums
Public
| Name | Remarks |
|---|---|
| EMode |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Stats | FStats | Allocator2D.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Alloc
(
FRect Rect, |
Allocator2D.h | ||
| Allocator2D.h | |||
void Clear() |
Must clear before using. | Allocator2D.h | |
void ClearBit
(
uint32 x, |
Allocator2D.h | ||
| Allocator2D.h | |||
void CreateUsedSegments() |
Allocator2D.h | ||
bool Find
(
FRect& Rect |
Allocator2D.h | ||
bool FindBitByBit
(
FRect& Rect, |
Allocator2D.h | ||
bool FindWithSegments
(
FRect& Rect, |
Allocator2D.h | ||
void FlipX
(
const FRect& Rect |
Allocator2D.h | ||
void FlipY
(
const FRect& Rect |
Allocator2D.h | ||
uint64 GetBit
(
uint32 x, |
Returns non-zero if set. | Allocator2D.h | |
uint32 GetRasterHeight() |
Allocator2D.h | ||
FMD5Hash GetRasterMD5() |
Get the MD5 hash of the rasterized content. | Allocator2D.h | |
uint32 GetRasterWidth() |
Allocator2D.h | ||
uint32 GetUsedTexels() |
Allocator2D.h | ||
| Allocator2D.h | |||
void MergeSegments
(
const FRect& Rect, |
Allocator2D.h | ||
void PublishStats
(
int32 ChartIndex, |
Allocator2D.h | ||
void ResetStats() |
Allocator2D.h | ||
void SetBit
(
uint32 x, |
Allocator2D.h | ||
| Allocator2D.h | |||
bool Test
(
FRect Rect, |
Allocator2D.h | ||
FString ToString() |
Allow to visualize the content in ascii for debugging purpose. (i.e Watch or Immediate window). | Allocator2D.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddUsedSegment
(
FRun& Run, |
Allocator2D.h | ||
void InitRuns
(
TArray< FRun >& Runs, |
Allocator2D.h | ||
void InitSegments() |
Allocator2D.h | ||
bool TestAllColumns
(
const FRect& Rect, |
Allocator2D.h | ||
bool TestAllRows
(
const FRect& Rect, |
Allocator2D.h | ||
| Allocator2D.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAllocator2D & operator=
(
const FAllocator2D& Other |
Allocator2D.h |