FCapturedFrames

Container for managing captured frames.

Windows
MacOS
Linux

References

Module

AVIWriter

Header

/Engine/Source/Runtime/AVIWriter/Public/AVIWriter.h

Include

#include "AVIWriter.h"

Syntax

struct FCapturedFrames

Remarks

Container for managing captured frames. Temporarily archives frames to the file system when capture rate drops.

Constructors

Name Description

Public function

FCapturedFrames

(
    const FString& InArchiveDirectory,
    int32 InMaxInMemoryFrames
)

Construct from a directory to place archives in, and a maximum number of frames we can hold in

Destructors

Name Description

Public function

~FCapturedFrames()

Functions

Name Description

Public function

void

 

Add

(
    FCapturedFrame Frame
)

Add a captured frame to this container. Only to be called from the owner tasread.

Public function Const

int32

 

GetNumOutstandingFrames()

Retrieve the number of oustanding frames we have not processed yet

Public function

TArray< FCap...

 

ReadFrames

(
    uint32 WaitTimeMs
)

Read frames from this container (potentially from a thread)

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