Navigation
API > API/Runtime > API/Runtime/RHI
Buffer readback implementation.
| Name | FRHIGPUBufferReadback |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIGPUReadback.h |
| Include Path | #include "RHIGPUReadback.h" |
Syntax
class FRHIGPUBufferReadback : public FRHIGPUMemoryReadback
Inheritance Hierarchy
- FRHIGPUMemoryReadback → FRHIGPUBufferReadback
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHIGPUBufferReadback
(
FName RequestName |
RHIGPUReadback.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DestinationStagingBuffers | FStagingBufferRHIRef | RHI staging buffers are single GPU need to be branched when using multiple GPUs. | RHIGPUReadback.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint64 GetGPUSizeBytes() |
RHIGPUReadback.h |
Overridden from FRHIGPUMemoryReadback
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void EnqueueCopy
(
FRHICommandList& RHICmdList, |
Copy the current state of the resource to the readback data. | RHIGPUReadback.h | |
virtual void * Lock
(
uint32 NumBytes |
Returns the CPU accessible pointer that backs this staging buffer. | RHIGPUReadback.h | |
virtual void Unlock() |
Signals that the host is finished reading from the backing buffer. | RHIGPUReadback.h |