Navigation
API > API/Plugins > API/Plugins/PCG
A proxy for data residing on the GPU with functionality to read the data back to the CPU.
| Name | UPCGRawBufferData |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Compute/Data/PCGRawBufferData.h |
| Include Path | #include "Compute/Data/PCGRawBufferData.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup=(Procedural), DisplayName="Raw Buffer")
class UPCGRawBufferData : public UPCGData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGRawBufferData
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeInfo | FPCGDataTypeInfoRawBuffer | Compute/Data/PCGRawBufferData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TArray< uint32 > & GetConstData() |
Compute/Data/PCGRawBufferData.h | ||
TArray< uint32 > & GetData() |
Compute/Data/PCGRawBufferData.h | ||
int32 GetNumUint32s() |
Compute/Data/PCGRawBufferData.h | ||
void SetData
(
TArray< uint32 >&& InData |
Compute/Data/PCGRawBufferData.h |
Public Virtual
Overridden from UPCGData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddToCrc
(
FArchiveCrc32& Ar, |
Adds this data to Crc. | Compute/Data/PCGRawBufferData.h | |
virtual const FPCGDataTypeBaseId & GetDataTypeId() |
Compute/Data/PCGRawBufferData.h | ||
virtual void ReleaseTransientResources
(
const TCHAR* InRease |
Compute/Data/PCGRawBufferData.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Compute/Data/PCGRawBufferData.h |