Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHIGPUTextureReadback > API/Runtime/RHI/FRHIGPUTextureReadback/EnqueueCopy
- FRHIGPUMemoryReadback::EnqueueCopy()
- FRHIGPUTextureReadback::EnqueueCopy()
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIGPUReadback.h |
| Include | #include "RHIGPUReadback.h" |
virtual void EnqueueCopy
(
FRHICommandList & RHICmdList,
FRHIBuffer * SourceBuffer,
uint32 NumBytes
)
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. |