TRDGScopeStack

A helper profiler class for tracking and evaluating hierarchical scopes in the context of render graph.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderGraphEvent.h"

Syntax

template<typename TScopeType>
class TRDGScopeStack

Remarks

A helper profiler class for tracking and evaluating hierarchical scopes in the context of render graph.

Variables

Name Description

Public variable

FMemStackBase &

 

MemStack

Public variable

FRHIComputeComm...

 

RHICmdList

Constructors

Name Description

Public function

TRDGScopeStack

(
    FRHIComputeCommandList& InRHICmdLi...,
    FPushFunction InPushFunction,
    FPopFunction InPopFunction
)

Destructors

Name Description

Public function

~TRDGScopeStack()

Functions

Name Description

Public function

void

 

BeginExecute()

Called during graph execute phase.

Public function

void

 

BeginExecutePass

(
    const TScopeType* ParentScope
)

Call prior to executing a pass in the graph.

Public function

void

 

BeginScope

(
    TScopeConstructArgs... ScopeConstru...
)

Called during graph setup phase.

Public function

void

 

EndExecute()

Call after executing the graph.

Public function

void

 

EndScope()

Call to end recording a scope.

Public function Const

const TScope...

 

GetCurrentScope()

Typedefs

Name

Description

FPopFunction

FPushFunction

Constants

Name

Description

kScopeStackDepthMax

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