#include <UnifiedBuffer.h>
|
| | ~FScatterUploadBuffer () |
| |
| RENDERCORE_API void | Init (uint32 NumElements, uint32 InNumBytesPerElement, bool bInFloat4Buffer, const TCHAR *DebugName) |
| |
| template<typename ResourceType > |
| void | ResourceUploadTo (FRHICommandList &RHICmdList, const ResourceType &DstBuffer, bool bFlush=false) |
| |
| void | Add (uint32 Index, const void *Data, uint32 Num=1) |
| |
| void * | Add_GetRef (uint32 Index, uint32 Num=1) |
| |
| void * | Set_GetRef (uint32 ElementIndex, uint32 ElementScatterOffset, uint32 Num=1) |
| |
| void | Release () |
| |
| uint32 | GetNumBytes () const |
| |
| RENDERCORE_API void | InitPreSized (uint32 NumElements, uint32 InNumBytesPerElement, bool bInFloat4Buffer, const TCHAR *DebugName) |
| |
| RENDERCORE_API void | Init (TArrayView< const uint32 > ElementScatterOffsets, uint32 InNumBytesPerElement, bool bInFloat4Buffer, const TCHAR *DebugName) |
| |
| void * | GetRef (uint32 ElementIndex) |
| |
| void | SetUploadViaCreate (bool bInUploadViaCreate) |
| |
◆ ~FScatterUploadBuffer()
| FScatterUploadBuffer::~FScatterUploadBuffer |
( |
| ) |
|
|
inline |
◆ Add()
◆ Add_GetRef()
◆ GetNumBytes()
| uint32 FScatterUploadBuffer::GetNumBytes |
( |
| ) |
const |
|
inline |
◆ GetRef()
| void * FScatterUploadBuffer::GetRef |
( |
uint32 |
ElementIndex | ) |
|
|
inline |
Get pointer to an element data area, given the index of the element (not the destination scatter offset).
◆ Init() [1/2]
Init with pre-existing destination index data, performs a bulk-copy.
◆ Init() [2/2]
| void FScatterUploadBuffer::Init |
( |
uint32 |
NumElements, |
|
|
uint32 |
InNumBytesPerElement, |
|
|
bool |
bInFloat4Buffer, |
|
|
const TCHAR * |
DebugName |
|
) |
| |
◆ InitPreSized()
| void FScatterUploadBuffer::InitPreSized |
( |
uint32 |
NumElements, |
|
|
uint32 |
InNumBytesPerElement, |
|
|
bool |
bInFloat4Buffer, |
|
|
const TCHAR * |
DebugName |
|
) |
| |
Init with presized num scatters, expecting each to be set at a later point. Requires the user to keep track of the offsets to use.
◆ Release()
| void FScatterUploadBuffer::Release |
( |
| ) |
|
|
inline |
◆ ResourceUploadTo()
◆ Set_GetRef()
◆ SetUploadViaCreate()
| void FScatterUploadBuffer::SetUploadViaCreate |
( |
bool |
bInUploadViaCreate | ) |
|
|
inline |
◆ bFloat4Buffer
| bool FScatterUploadBuffer::bFloat4Buffer = false |
◆ bUploadViaCreate
| bool FScatterUploadBuffer::bUploadViaCreate = false |
◆ MaxScatters
| uint32 FScatterUploadBuffer::MaxScatters = 0 |
◆ NumBytesPerElement
| uint32 FScatterUploadBuffer::NumBytesPerElement = 0 |
◆ NumScatters
| uint32 FScatterUploadBuffer::NumScatters = 0 |
◆ ScatterBuffer
◆ ScatterData
| uint32* FScatterUploadBuffer::ScatterData = nullptr |
◆ ScatterDataSize
| uint32 FScatterUploadBuffer::ScatterDataSize = 0 |
◆ UploadBuffer
◆ UploadData
| uint8* FScatterUploadBuffer::UploadData = nullptr |
◆ UploadDataSize
| uint32 FScatterUploadBuffer::UploadDataSize = 0 |
The documentation for this class was generated from the following files: