#include <Allocator2D.h>
|
| MESHUTILITIESCOMMON_API | FAllocator2D (EMode Mode, uint32 Width, uint32 Height, ELightmapUVVersion LayoutVersion) |
| |
| MESHUTILITIESCOMMON_API void | Clear () |
| |
| MESHUTILITIESCOMMON_API bool | Find (FRect &Rect) |
| |
| bool | Test (FRect Rect) |
| |
| MESHUTILITIESCOMMON_API void | Alloc (FRect Rect) |
| |
| MESHUTILITIESCOMMON_API bool | FindBitByBit (FRect &Rect, const FAllocator2D &Other) |
| |
| MESHUTILITIESCOMMON_API bool | FindWithSegments (FRect &Rect, const FAllocator2D &Other, TFunctionRef< bool(const FAllocator2D::FRect &)> IsBestRect) const |
| |
| bool | Test (FRect Rect, const FAllocator2D &Other) |
| |
| MESHUTILITIESCOMMON_API void | Alloc (FRect Rect, const FAllocator2D &Other) |
| |
| uint64 | GetBit (uint32 x, uint32 y) const |
| |
| void | SetBit (uint32 x, uint32 y) |
| |
| void | ClearBit (uint32 x, uint32 y) |
| |
| MESHUTILITIESCOMMON_API void | CreateUsedSegments () |
| |
| MESHUTILITIESCOMMON_API void | MergeRun (FRun &Run, const FRun &OtherRun, uint32 RectOffset, uint32 RectLength, uint32 PrimaryResolution, uint32 PerpendicularResolution) |
| |
| MESHUTILITIESCOMMON_API void | MergeSegments (const FRect &Rect, const FAllocator2D &Other) |
| |
| MESHUTILITIESCOMMON_API void | FlipX (const FRect &Rect) |
| |
| MESHUTILITIESCOMMON_API void | FlipY (const FRect &Rect) |
| |
| MESHUTILITIESCOMMON_API uint32 | GetUsedTexels () const |
| |
| MESHUTILITIESCOMMON_API void | CopyRuns (TArray< FRun > &Runs, const TArray< FRun > &OtherRuns, int32 MaxSize) |
| |
| | FAllocator2D (const FAllocator2D &Other)=default |
| |
| MESHUTILITIESCOMMON_API FAllocator2D & | operator= (const FAllocator2D &Other) |
| |
| MESHUTILITIESCOMMON_API FString | ToString () const |
| |
| MESHUTILITIESCOMMON_API FMD5Hash | GetRasterMD5 () const |
| |
| uint32 | GetRasterWidth () const |
| |
| uint32 | GetRasterHeight () const |
| |
| MESHUTILITIESCOMMON_API void | ResetStats () |
| |
| MESHUTILITIESCOMMON_API void | PublishStats (int32 ChartIndex, int32 Orientation, bool bFound, const FRect &Rect, const FRect &BestRect, const FMD5Hash &ChartMD5, TFunctionRef< bool(const FAllocator2D::FRect &)> IsBestRect) |
| |
|
| MESHUTILITIESCOMMON_API bool | TestOneRun (const FRun &Run, const FRun &OtherRun, uint32 RectOffset, uint32 RectLength, uint32 PrimaryResolution, uint32 &OutFailedLength) const |
| |
| MESHUTILITIESCOMMON_API bool | TestAllRows (const FRect &Rect, const FAllocator2D &Other, uint32 &FailedLength) const |
| |
| MESHUTILITIESCOMMON_API bool | TestAllColumns (const FRect &Rect, const FAllocator2D &Other, uint32 &FailedLength) const |
| |
| MESHUTILITIESCOMMON_API void | InitRuns (TArray< FRun > &Runs, uint32 PrimaryResolution, uint32 PerpendicularRasterSize) |
| |
| MESHUTILITIESCOMMON_API void | InitSegments () |
| |
| MESHUTILITIESCOMMON_API void | AddUsedSegment (FRun &Run, uint32 StartPos, uint32 Length) |
| |
◆ EMode
| Enumerator |
|---|
| FreeSegments | |
| UsedSegments | |
◆ FAllocator2D() [1/2]
◆ FAllocator2D() [2/2]
◆ AddUsedSegment()
◆ Alloc() [1/2]
◆ Alloc() [2/2]
◆ Clear()
| void FAllocator2D::Clear |
( |
| ) |
|
◆ ClearBit()
◆ CopyRuns()
◆ CreateUsedSegments()
| void FAllocator2D::CreateUsedSegments |
( |
| ) |
|
◆ Find()
◆ FindBitByBit()
◆ FindWithSegments()
◆ FlipX()
| void FAllocator2D::FlipX |
( |
const FRect & |
Rect | ) |
|
◆ FlipY()
| void FAllocator2D::FlipY |
( |
const FRect & |
Rect | ) |
|
◆ GetBit()
◆ GetRasterHeight()
| uint32 FAllocator2D::GetRasterHeight |
( |
| ) |
const |
|
inline |
◆ GetRasterMD5()
| FMD5Hash FAllocator2D::GetRasterMD5 |
( |
| ) |
const |
◆ GetRasterWidth()
| uint32 FAllocator2D::GetRasterWidth |
( |
| ) |
const |
|
inline |
◆ GetUsedTexels()
| uint32 FAllocator2D::GetUsedTexels |
( |
| ) |
const |
◆ InitRuns()
◆ InitSegments()
| void FAllocator2D::InitSegments |
( |
| ) |
|
|
protected |
◆ MergeRun()
◆ MergeSegments()
◆ operator=()
◆ PublishStats()
◆ ResetStats()
| void FAllocator2D::ResetStats |
( |
| ) |
|
◆ SetBit()
◆ Test() [1/2]
◆ Test() [2/2]
◆ TestAllColumns()
◆ TestAllRows()
◆ TestOneRun()
◆ ToString()
| FString FAllocator2D::ToString |
( |
| ) |
const |
◆ Bits
◆ Columns
◆ Height
| const uint32 FAllocator2D::Height |
|
protected |
◆ LayoutVersion
◆ Mode
| const EMode FAllocator2D::Mode |
|
protected |
◆ Pitch
| const uint32 FAllocator2D::Pitch |
|
protected |
◆ RasterHeight
| uint32 FAllocator2D::RasterHeight |
|
protected |
◆ RasterWidth
| uint32 FAllocator2D::RasterWidth |
|
protected |
◆ Rows
◆ SortedColumnsIndex
◆ SortedRowsIndex
◆ Width
| const uint32 FAllocator2D::Width |
|
protected |
The documentation for this class was generated from the following files: