Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/UnifiedBuffer.h |
| Include | #include "UnifiedBuffer.h" |
Syntax
class FScatterUploadBuffer
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bFloat4Buffer | ||
| bool | bUploadViaCreate | ||
| uint32 | MaxScatters | ||
| uint32 | NumBytesPerElement | ||
| uint32 | NumScatters | ||
| FByteAddressBuffer | ScatterBuffer | ||
| uint32 * | ScatterData | ||
| uint32 | ScatterDataSize | ||
| FByteAddressBuffer | UploadBuffer | ||
| uint8 * | UploadData | ||
| uint32 | UploadDataSize |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add
(
uint32 Index, |
||
| void * | Add_GetRef
(
uint32 Index, |
||
| uint32 | GetNumBytes () |
||
| void * | GetRef
(
uint32 ElementIndex |
Get pointer to an element data area, given the index of the element (not the destination scatter offset). | |
| void | Init
(
uint32 NumElements, |
||
| void | Init
(
TArrayView< const uint32 > ElementScatterOffsets, |
Init with pre-existing destination index data, performs a bulk-copy. | |
| void | InitPreSized
(
uint32 NumElements, |
Init with presized num scatters, expecting each to be set at a later point. | |
| void | Release () |
||
| void | ResourceUploadTo
(
FRHICommandList& RHICmdList, |
||
| void * | Set_GetRef
(
uint32 ElementIndex, |
||
| void | SetUploadViaCreate
(
bool bInUploadViaCreate |
Constants
| Name | Description |
|---|---|
| PrimitiveDataStrideInFloat4s |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ResourceUploadTo
(
FRHICommandList& RHICmdList, |
Scattered uploads to FTextureRWBuffer will no longer supported in a future release. Use a supported destination buffer type instead. |