Navigation
API > API/Runtime > API/Runtime/Core
An element type independent interface for uploading an array of resource data.
| Name | FResourceArrayUploadInterface |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ResourceArray.h |
| Include Path | #include "Containers/ResourceArray.h" |
Syntax
struct FResourceArrayUploadInterface
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FResourceArrayUploadInterface() |
Containers/ResourceArray.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Discard() |
Called on non-UMA systems after the RHI has copied the resource data, and no longer needs the CPU's copy. | Containers/ResourceArray.h | |
const void * GetResourceData() |
Returns a pointer to the resource data. | Containers/ResourceArray.h | |
uint32 GetResourceDataSize() |
Returns size of resource data allocation | Containers/ResourceArray.h | |
TConstArrayView< TElement > GetResourceDataView() |
Containers/ResourceArray.h |