FRHIGPUMemoryReadback

Syntax

class FRHIGPUMemoryReadback

Remarks

FRHIGPUMemoryReadback : Represents a memory readback request scheduled with CopyToStagingBuffer Wraps a FRHIStagingBuffer with a FRHIGPUFence for synchronization.

Constructors

Name Description

Public function

FRHIGPUMemoryReadback

(
    FName RequestName
)

Destructors

Name Description

Public function

~FRHIGPUMemoryReadback()

Functions

Name Description

Public function

void

 

EnqueueCopy

(
    FRHICommandList & RHICmdList,
    FVertexBufferRHIParamRef SourceBuff...,
    uint32 NumBytes
)

Returns the CPU accessible pointer that backs this staging buffer.

Public function

bool

 

IsReady()

Indicates if the data is in place and ready to be read.

Public function

void *

 

Lock

(
    uint32 NumBytes
)

Returns the CPU accessible pointer that backs this staging buffer.

Public function

void

 

Unlock()

Signals that the host is finished reading from the backing buffer.

References

Module

RHI

Header

Runtime/RHI/Public/RHIGPUReadback.h