Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaTextureSample
Description
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.
| Name | IsCacheable |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaTextureSample.h |
| Include Path | #include "IMediaTextureSample.h" |
bool IsCacheable() const
true if cacheable, false otherwise.