Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
Inheritance Hierarchy
- FResourceArrayInterface
- TArray
- TResourceArray
- TSkeletalMeshVertexData
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/DynamicRHIResourceArray.h |
| Include | #include "Containers/DynamicRHIResourceArray.h" |
Syntax
template<typename ElementType, uint32 Alignment>
class TResourceArray :
public FResourceArrayInterface,
public TArray< ElementType, TMemoryImageAllocator< Alignment > >
Remarks
A array which allocates memory which can be used for UMA rendering resources. In the dynamically bound RHI, it isn't any different from the default array type, since none of the dynamically bound RHI implementations have UMA.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TResourceArray
(
bool InNeedsCPUAccess |
Constructor | ||
TResourceArray
(
TResourceArray&& |
|||
TResourceArray
(
const TResourceArray& |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BulkSerialize
(
FArchive& Ar, |
Serialize data as a single block. | |
| FTypeLayoutDesc & |
Overridden from FResourceArrayInterface
| Type | Name | Description | |
|---|---|---|---|
| void | Discard () |
Called on non-UMA systems after the RHI has copied the resource data, and no longer needs the CPU's copy. | |
| bool | |||
| const void * | |||
| uint32 | |||
| const FTypeLayoutDesc & | |||
| bool | IsStatic () |
||
| void | SetAllowCPUAccess
(
bool bInNeedsCPUAccess |
Sets whether the resource array will be accessed by CPU. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TResourceArray & | operator=
(
TResourceArray&& |
||
| TResourceArray & | operator=
(
const TResourceArray& |
||
| TResourceArray & | Assignment operators. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| InternalLinkType |
Typedefs
| Name | Description |
|---|---|
| DerivedType | |
| ParentArrayType | |
| Super |
Constants
| Name | Description |
|---|---|
| CounterBase | |
| InterfaceType |