Navigation
API > API/Runtime > API/Runtime/Core
Utility to do a simple upload of data from an array managed by the caller.
| Name | FResourceArrayUploadArrayView |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/ResourceArray.h |
| Include Path | #include "Containers/ResourceArray.h" |
Syntax
struct FResourceArrayUploadArrayView : public FResourceArrayUploadInterface
Inheritance Hierarchy
- FResourceArrayUploadInterface → FResourceArrayUploadArrayView
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Containers/ResourceArray.h | |||
FResourceArrayUploadArrayView
(
TConstArrayView< ElementType > View |
Containers/ResourceArray.h | ||
FResourceArrayUploadArrayView
(
const TArray< ElementType, AllocatorType >& InArray |
Containers/ResourceArray.h | ||
FResourceArrayUploadArrayView
(
const void* InData, |
Containers/ResourceArray.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | const void *const | Containers/ResourceArray.h | ||
| SizeInBytes | const uint32 | Containers/ResourceArray.h |
Functions
Public
Overridden from FResourceArrayUploadInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual 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 | |
virtual const void * GetResourceData() |
Returns a pointer to the resource data. | Containers/ResourceArray.h | |
virtual uint32 GetResourceDataSize() |
Returns size of resource data allocation | Containers/ResourceArray.h |