Navigation
API > API/Runtime > API/Runtime/Core
Allows for direct GPU mem allocation for texture resource.
| Name | FTexture2DResourceMem |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ResourceArray.h |
| Include Path | #include "Containers/ResourceArray.h" |
Syntax
class FTexture2DResourceMem : public FResourceBulkDataInterface
Inheritance Hierarchy
- FResourceBulkDataInterface → FTexture2DResourceMem
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FTexture2DResourceMem() |
Containers/ResourceArray.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CancelAsyncAllocation() |
Cancels any async allocation. | Containers/ResourceArray.h | |
void FinishAsyncAllocation() |
Blocks the calling thread until the allocation has been completed. | Containers/ResourceArray.h | |
void * GetMipData
(
int32 MipIdx |
Containers/ResourceArray.h | ||
int32 GetNumMips() |
Containers/ResourceArray.h | ||
int32 GetSizeX() |
Containers/ResourceArray.h | ||
int32 GetSizeY() |
Containers/ResourceArray.h | ||
bool HasAsyncAllocationCompleted() |
Containers/ResourceArray.h | ||
bool IsValid() |
Containers/ResourceArray.h |