FRHIGPUTextureReadback::Lock

Returns the CPU accessible pointer that backs this staging buffer.

Windows
MacOS
Linux

Override Hierarchy

FRHIGPUMemoryReadback::Lock()

FRHIGPUTextureReadback::Lock()

References

Module

RHI

Header

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

Include

#include "RHIGPUReadback.h"

Source

/Engine/Source/Runtime/RHI/Private/RHIGPUReadback.cpp

Syntax

virtual void * Lock
(
    uint32 NumBytes
)

Remarks

Returns the CPU accessible pointer that backs this staging buffer.

Returns

A CPU accessible pointer to the backing buffer.

Parameters

Parameter

Description

NumBytes

The maximum number of bytes the host will read from this pointer.

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