TRHICommandList_RecursiveHazardous

Helper class used internally by RHIs to make use of [FRHICommandList_RecursiveHazardous](API\Runtime\RHI\FRHICommandList_RecursiveHazardo-) safer.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RHI

Header

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

Include

#include "RHICommandList.h"

Syntax

template<typename ContextType>
class TRHICommandList_RecursiveHazardous : public FRHICommandList_RecursiveHazardous

Remarks

Helper class used internally by RHIs to make use of FRHICommandList_RecursiveHazardous safer. Access to the underlying context is exposed via RunOnContext() to ensure correct ordering of commands.

Constructors

Name Description

Public function

TRHICommandList_RecursiveHazardous

(
    ContextType* Context,
    FRHIGPUMask GPUMask
)

Functions

Name Description

Public function

void

 

RunOnContext

(
    LAMBDA&& Lambda
)

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