11 #include "ShaderTypes.h" 12 #include "utils/Geometry.h" 52 virtual void SetSpeed(
double speed) = 0;
59 virtual void SetVideoSize(
const unsigned videoWidth,
const unsigned videoHeight) = 0;
virtual bool ReadPresetFile(const std::string &presetPath)=0
Reads/Parses a shader preset file and loads its state to the object. What this state is is implementa...
virtual void SetSpeed(double speed)=0
Informs about the speed of playback.
Definition: AudioDecoder.h:18
Definition: IShaderPreset.h:23
Definition: IShaderTexture.h:15
virtual ShaderPassVec & GetPasses()=0
Gets the passes of the loaded preset.
virtual bool RenderUpdate(const CPoint dest[], IShaderTexture *source, IShaderTexture *target)=0
Updates state if needed and renderes the preset to the target texture.
virtual bool SetShaderPreset(const std::string &shaderPresetPath)=0
Set the preset to be rendered on the next frame.
virtual const std::string & GetShaderPreset() const =0
Gets the full path to the shader preset.
virtual void SetVideoSize(const unsigned videoWidth, const unsigned videoHeight)=0
Size of the input/source frame in pixels.