TRHILambdaCommand

There are two possible implementation.

Windows
MacOS
Linux

Inheritance Hierarchy

FRHICommandBase

TRHICommandList_RecursiveHazardous::TRHILambdaCommand

References

Module

RHI

Header

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

Include

#include "RHICommandList.h"

Syntax

template<typename LAMBDA>
struct TRHILambdaCommand : public FRHICommandBase

Remarks

There are two possible implementation. The first enqueues tasks as lambda commands, so the command list only needs to be flushed once. The second flushes previous command every time access to the context is required. Enable the first one for now...

Variables

Name Description

Public variable

LAMBDA

 

Lambda

Constructors

Name Description

Public function

TRHILambdaCommand

(
    LAMBDA&& InLambda
)

Functions

Name Description

Public function

void

 

ExecuteAndDestruct

(
    FRHICommandListBase& CmdList,
    FRHICommandListDebugContext&
)

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