FScopedCapture

Helper for capturing within a scope.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderCaptureInterface.h"

Syntax

class FScopedCapture

Remarks

Helper for capturing within a scope. Handles both game and render thread. Fails gracefully if no IRenderCaptureProvider exists.

Constructors

Name Description

Public function

FScopedCapture

(
    bool bEnable,
    TCHAR const* InEventName,
    TCHAR const* InFileName
)

Use this constructor if not on rendering thread.

Public function

FScopedCapture

(
    bool bEnable,
    FRHICommandListImmediate* InRH...,
    TCHAR const* InEventName,
    TCHAR const* InFileName
)

Use this constructor if on rendering thread.

Destructors

Name Description

Public function

~FScopedCapture()

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