Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHIGPUBufferReadback
- FRHIGPUMemoryReadback::EnqueueCopy()
- FRHIGPUBufferReadback::EnqueueCopy()
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIGPUReadback.h |
| Include | #include "RHIGPUReadback.h" |
| Source | /Engine/Source/Runtime/RHI/Private/RHIGPUReadback.cpp |
virtual void EnqueueCopy
&40;
FRHICommandList & RHICmdList,
FRHIBuffer &42; SourceBuffer,
uint32 NumBytes
&41;
Remarks
Copy the current state of the resource to the readback data.
Parameters
| Name | Description |
|---|---|
| RHICmdList | The command list to enqueue the copy request on. |
| SourceBuffer | The buffer holding the source data. |
| NumBytes | The number of bytes to copy. If 0, this will copy the entire buffer. |