ResourcesToDelete

Some APIs don't do internal reference counting, so we have to wait an extra couple of frames before deleting resources to ensure the GPU has completely finished with them.

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "RHIResources.h"

Syntax

struct ResourcesToDelete

Remarks

Some APIs don't do internal reference counting, so we have to wait an extra couple of frames before deleting resources to ensure the GPU has completely finished with them. This avoids expensive fences, etc.

Variables

Name Description

Public variable

uint32

 

FrameDeleted

Public variable

TArray< FRHIRes...

 

Resources

Constructors

Name Description

Public function

ResourcesToDelete

(
    uint32 InFrameDeleted
)

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