![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VirtualTextureAllocator.h>
Public Member Functions | |
| RENDERER_API | FVirtualTextureAllocator (uint32 Dimensions) |
| ~FVirtualTextureAllocator () | |
| RENDERER_API void | Initialize (uint32 MaxSize) |
| uint32 | GetAllocatedWidth () const |
| uint32 | GetAllocatedHeight () const |
| RENDERER_API FAllocatedVirtualTexture * | Find (uint32 vAddress, uint32 &OutLocal_vAddress) const |
| FAllocatedVirtualTexture * | Find (uint32 vAddress) const |
| RENDERER_API uint32 | Alloc (FAllocatedVirtualTexture *VT) |
| RENDERER_API bool | TryAlloc (uint32 InSize) |
| RENDERER_API void | Free (FAllocatedVirtualTexture *VT) |
| uint32 | GetNumAllocations () const |
| uint32 | GetNumAllocatedPages () const |
| RENDERER_API void | DumpToConsole (bool verbose) |
Allocates virtual memory address space.
|
explicit |
|
inline |
| uint32 FVirtualTextureAllocator::Alloc | ( | FAllocatedVirtualTexture * | VT | ) |
Allocate address space for the virtual texture.
Output debugging information to the console.
|
inline |
| FAllocatedVirtualTexture * FVirtualTextureAllocator::Find | ( | uint32 | vAddress, |
| uint32 & | OutLocal_vAddress | ||
| ) | const |
Translate a virtual page address in the address space to a local page address within a virtual texture.
| void FVirtualTextureAllocator::Free | ( | FAllocatedVirtualTexture * | VT | ) |
Free the virtual texture.
|
inline |
|
inline |
|
inline |
Get current number of allocated pages.
|
inline |
Get current number of allocations.
Test if an allocation of the given size will succeed.