TMediaSampleSource::Peek

Peek at the next sample in the queue without removing it.

Windows
MacOS
Linux

Override Hierarchy

References

Module

MediaUtils

Header

/Engine/Source/Runtime/MediaUtils/Public/MediaSampleSource.h

Include

#include "MediaSampleSource.h"

Syntax

bool Peek
(
    TSharedPtr< SampleType, ESPMode::ThreadSafe > & OutSample
)

Remarks

Peek at the next sample in the queue without removing it.

Returns

true if a sample has been returned, false if the queue was empty.

Parameters

Parameter

Description

OutSample

Will contain the sample if the queue is not empty.

See Also

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