45 #ifndef CTextureVideoH 46 #define CTextureVideoH 98 static cTextureVideoPtr
create() {
return (std::make_shared<cTextureVideo>()); }
108 virtual bool loadFromFile(
const std::string& a_fileName);
131 //------------------------------------------------------------------------------ This structures provide a containers for storing rendering options that are passed through the sceneg...
Definition: CRenderOptions.h:82
virtual void renderInitialize(cRenderOptions &a_options)
This method enables texturing and set this texture as the current texture.
Definition: CTextureVideo.cpp:85
static cTextureVideoPtr create()
Shared cTextureVideo allocator.
Definition: CTextureVideo.h:98
std::shared_ptr< cTextureVideo > cTextureVideoPtr
Definition: CTextureVideo.h:66
virtual bool loadFromFile(const std::string &a_fileName)
This method loads a texture video file.
Definition: CTextureVideo.cpp:105
std::shared_ptr< cVideo > cVideoPtr
Definition: CVideo.h:67
cVideoPtr m_video
Video object (Use this to get data about the texture itself).
Definition: CTextureVideo.h:121
virtual ~cTextureVideo()
Destructor of cTextureVideo.
Definition: CTextureVideo.cpp:71
Implements support for video files.
Definition: CAudioBuffer.cpp:56
This class implements a video texture map.
Definition: CTextureVideo.h:83
This class implements a 2D texture map.
Definition: CTexture2d.h:84
cTextureVideo()
Constructor of cTextureVideo.
Definition: CTextureVideo.cpp:59