Navigation
Unreal Engine C++ API Reference > Runtime > MeshUtilitiesCommon
References
Module | MeshUtilitiesCommon |
Header | /Engine/Source/Runtime/MeshUtilitiesCommon/Public/Allocator2D.h |
Include | #include "Allocator2D.h" |
Syntax
class FAllocator2D
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< uint64 > | Bits | |
![]() |
TArray< FRun > | Columns | |
![]() |
const uint32 | Height | |
![]() |
const ELightmapUVVersion | LayoutVersion | |
![]() |
const EMode | Mode | Enforce that those cannot be changed in flight. |
![]() |
const uint32 | Pitch | |
![]() |
uint32 | RasterHeight | |
![]() |
uint32 | RasterWidth | |
![]() |
TArray< FRun > | Rows | |
![]() |
TArray< uint16 > | SortedColumnsIndex | Index inside columns that will be sorted by columns with longest used segment first. |
![]() |
TArray< uint16 > | SortedRowsIndex | Index inside rows that will be sorted by rows with longest used segment first. |
![]() |
const uint32 | Width |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FAllocator2D
(
const FAllocator2D& Other |
Take control of the copy assignment to reduce the amount of data movement to the strict minimum. | |
![]() |
FAllocator2D
(
EMode Mode, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddUsedSegment
(
FRun& Run, |
|
![]() |
void | Alloc
(
FRect Rect, |
|
![]() |
void | ||
![]() |
void | Clear () |
Must clear before using. |
![]() |
void | ClearBit
(
uint32 x, |
|
![]() |
void | ||
![]() |
void | ||
![]() |
bool | ||
![]() |
bool | FindBitByBit
(
FRect& Rect, |
|
![]() ![]() |
bool | FindWithSegments
(
FRect& Rect, |
|
![]() |
void | ||
![]() |
void | ||
![]() ![]() |
uint64 | GetBit
(
uint32 x, |
Returns non-zero if set. |
![]() ![]() |
uint32 | ||
![]() ![]() |
FMD5Hash | GetRasterMD5 () |
Get the MD5 hash of the rasterized content. |
![]() ![]() |
uint32 | ||
![]() ![]() |
uint32 | ||
![]() |
void | ||
![]() |
void | InitSegments () |
|
![]() |
void | ||
![]() |
void | MergeSegments
(
const FRect& Rect, |
|
![]() |
void |
PublishStats
(
int32 ChartIndex, |
|
![]() |
void | ResetStats () |
|
![]() |
void | SetBit
(
uint32 x, |
|
![]() |
bool | ||
![]() |
bool | Test
(
FRect Rect, |
|
![]() ![]() |
bool | TestAllColumns
(
const FRect& Rect, |
|
![]() ![]() |
bool | TestAllRows
(
const FRect& Rect, |
|
![]() ![]() |
bool | TestOneRun
(
const FRun& Run, |
|
![]() ![]() |
FString | ToString () |
Allow to visualize the content in ascii for debugging purpose. (i.e Watch or Immediate window). |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FAllocator2D & | operator=
(
const FAllocator2D& Other |
Classes
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EMode |