FRWBuffer

Encapsulates a GPU read/write buffer with its UAV and SRV.

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "RHIUtilities.h"

Syntax

struct FRWBuffer

Remarks

Encapsulates a GPU read/write buffer with its UAV and SRV.

Variables

Name Description

Public variable

FVertexBufferRH...

 

Buffer

Public variable

uint32

 

NumBytes

Public variable

FShaderResource...

 

SRV

Public variable

FUnorderedAcces...

 

UAV

Constructors

Name Description

Public function

FRWBuffer()

Destructors

Name Description

Public function

~FRWBuffer()

Functions

Name Description

Public function

void

 

AcquireTransientResource()

Public function

void

 

DiscardTransientResource()

Public function

void

 

Initialize

(
    uint32 BytesPerElement,
    uint32 NumElements,
    EPixelFormat Format,
    uint32 AdditionalUsage,
    const TCHAR* InDebugName,
    FResourceArrayInterface* InRes...
)

Public function

void

 

Release()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback