FRHIGPUBufferReadback

Buffer readback implementation.

Windows
MacOS
Linux

Inheritance Hierarchy

FRHIGPUMemoryReadback

FRHIGPUBufferReadback

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIGPUReadback.h

Include

#include "RHIGPUReadback.h"

Syntax

class FRHIGPUBufferReadback : public FRHIGPUMemoryReadback

Remarks

Buffer readback implementation.

Constructors

Name Description

Public function

FRHIGPUBufferReadback

(
    FName RequestName
)

Overridden from FRHIGPUMemoryReadback

Name Description

Public function Virtual

void

 

EnqueueCopy

(
    FRHICommandList& RHICmdList,
    FRHIVertexBuffer* SourceBuffer,
    uint32 NumBytes
)

Copy the current state of the resource to the readback data.

Public function Virtual

void *

 

Lock

(
    uint32 NumBytes
)

Returns the CPU accessible pointer that backs this staging buffer.

Public function Virtual

void

 

Unlock()

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss