IMediaTextureSample::IsCacheable

Whether the sample can be held in a cache.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Media

Header

/Engine/Source/Runtime/Media/Public/IMediaTextureSample.h

Include

#include "IMediaTextureSample.h"

Syntax

bool IsCacheable() const

Remarks

Whether the sample can be held in a cache.

Non-cacheable video samples become invalid when the next sample is available, and only the latest sample should be kept by video sample consumers.

Returns

true if cacheable, false otherwise.

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