TRDGHandleUniqueFilter

Esoteric helper class which accumulates handles and will return a valid handle only if a single unique handle was added.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderGraphDefinitions.h

Include

#include "RenderGraphDefinitions.h"

Syntax

template<typename HandleType>
class TRDGHandleUniqueFilter

Remarks

Esoteric helper class which accumulates handles and will return a valid handle only if a single unique handle was added. Otherwise, it returns null until reset. This helper is chiefly used to track UAVs tagged as 'no UAV barrier'; such that a UAV barrier is issued only if a unique no-barrier UAV is used on a pass. Intended for internal use only.

Constructors

Name Description

Public function

TRDGHandleUniqueFilter()

Public function

TRDGHandleUniqueFilter

(
    HandleType InHandle
)

Functions

Name Description

Public function

void

 

AddHandle

(
    HandleType InHandle
)

Public function Const

HandleType

 

GetUniqueHandle()

Public function

void

 

Reset()

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