Navigation
API > API/Plugins > API/Plugins/ImgMedia > API/Plugins/ImgMedia/FImgMediaGlobalCache
References
| Module | ImgMedia |
| Header | /Engine/Plugins/Media/ImgMedia/Source/ImgMedia/Public/ImgMediaGlobalCache.h |
| Include | #include "ImgMediaGlobalCache.h" |
| Source | /Engine/Plugins/Media/ImgMedia/Source/ImgMedia/Private/GlobalCache/ImgMediaGlobalCache.cpp |
void AddFrame
&40;
const FString & FileName,
const FName & Sequence,
int32 Index,
const TSharedPtr< FImgMediaFrame, ESPMode::ThreadSafe > & Frame,
bool HasMipMaps
&41;
Remarks
Adds a frame to the cache.
Parameters
| Name | Description |
|---|---|
| FileName | Filename of frame to add. |
| Sequence | Indentifying name of this sequence. |
| Index | Index of frame to add. |
| Frame | Actual frame to add. |
| HasMipMaps | Whether this frame contains mipmaps or not. |