FRHIStagingBuffer

Generic staging buffer class used by [FRHIGPUMemoryReadback](API\Runtime\RHI\FRHIGPUMemoryReadback) RHI specific staging buffers derive from this

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RHI

Header

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

Include

#include "RHIResources.h"

Syntax

class FRHIStagingBuffer : public FRHIResource

Remarks

Generic staging buffer class used by FRHIGPUMemoryReadback RHI specific staging buffers derive from this

Variables

Name Description

Protected variable

bool

 

bIsLocked

Constructors

Name Description

Public function

FRHIStagingBuffer()

Destructors

Name Description

Public function Virtual

~FRHIStagingBuffer()

Functions

Name Description

Public function

void *

 

Lock

(
    uint32 Offset,
    uint32 NumBytes
)

Public function

void

 

Unlock()

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