Navigation
API > API/Runtime > API/Runtime/RHI
Texture readback implementation.
| Name | FRHIGPUTextureReadback |
| Type | class |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIGPUReadback.h |
| Include Path | #include "RHIGPUReadback.h" |
Syntax
class FRHIGPUTextureReadback : public FRHIGPUMemoryReadback
Inheritance Hierarchy
- FRHIGPUMemoryReadback → FRHIGPUTextureReadback
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRHIGPUTextureReadback
(
FName RequestName |
RHIGPUReadback.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DestinationStagingTextures | FTextureRHIRef | RHIGPUReadback.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EnqueueCopy
(
FRHICommandList& RHICmdList, |
RHIGPUReadback.h | ||
uint64 GetGPUSizeBytes() |
RHIGPUReadback.h | ||
void * Lock
(
int32& OutRowPitchInPixels, |
RHIGPUReadback.h | ||
void LockTexture
(
FRHICommandListImmediate& RHICmdList, |
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 EnqueueCopy
(
FRHICommandList& RHICmdList, |
RHIGPUReadback.h | ||
virtual void * Lock
(
uint32 NumBytes |
RHIGPUReadback.h | ||
virtual void Unlock() |
Signals that the host is finished reading from the backing buffer. | RHIGPUReadback.h |