Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/TextureLayout3d.h |
Include |
#include "TextureLayout3d.h" |
class FTextureLayout3d
An incremental texture space allocator. For best results, add the elements ordered descending in size.
Name | Description | ||
---|---|---|---|
|
AddElement |
Finds a free area in the texture large enough to contain a surface with the given size. |
|
|
GetMaxSizeX() |
||
|
GetMaxSizeY() |
||
|
GetMaxSizeZ() |
||
|
GetSize() |
||
|
GetSizeX() |
Returns the minimum texture width which will contain the allocated surfaces. |
|
|
GetSizeY() |
Returns the minimum texture height which will contain the allocated surfaces. |
|
|
GetSizeZ() |
||
|
RemoveElement |
Removes a previously allocated element from the layout and collapses the tree as much as possible, In order to create the largest free block possible and return the tree to its state before the element was added. |