28 #ifndef HPL_VIDEO_STREAM_H 29 #define HPL_VIDEO_STREAM_H 31 #include "hpl1/engine/graphics/GraphicsTypes.h" 32 #include "hpl1/engine/resources/ResourceBase.h" 50 tStringVec &GetExtensions() {
return mvExtensions; }
63 virtual bool LoadFromFile(
tString asFilePath) = 0;
65 virtual void Update(
float afTimeStep) = 0;
67 virtual void Play() = 0;
68 virtual void Stop() = 0;
70 virtual void Pause(
bool abX) = 0;
71 virtual bool IsPaused() = 0;
73 virtual void SetLoop(
bool abX) = 0;
74 virtual bool IsLooping() = 0;
76 virtual void CopyToTexture(
iTexture *apTexture) = 0;
78 const tString &GetFileName() {
return msFilePath; }
79 const cVector2l &GetSize() {
return mvSize; }
94 #endif // HPL_VIDEO_STREAM_H
Definition: ResourceBase.h:36
Definition: VideoStream.h:44
void destroy()
Definition: VideoStream.h:85
void unload()
Definition: VideoStream.h:84
bool reload()
Definition: VideoStream.h:83
Definition: VideoStream.h:58