3#include "Resources/Resources.h"
4#include "IVideoDecoder.h"
6#include "Foundation/ComponentModel/Component.h"
18 bool reconfig =
false;
34 VideoDecoderCallback* decodeCallback =
nullptr;
35 void* decodeCallbackData =
nullptr;
40 VideoPresentCallback* presentCallback =
nullptr;
41 void* presentCallbackData =
nullptr;
43 static void registerType();
47template<>
inline Cogs::StringView getName<Cogs::Core::VideoPlaybackComponent>() {
return "VideoPlaybackComponent"; }
Base class for Component instances.
Provides a weakly referenced view over the contents of a string.
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
static const ResourceHandle_t NoHandle
Handle representing a default (or none if default not present) resource.
std::string recordPath
Path to directory where captured video is stored.
bool recordToDisk
Write video frames to disk.