40#ifndef INCLUDE_GLS_MOVIE_TEXTURE_H
41#define INCLUDE_GLS_MOVIE_TEXTURE_H
46#if( defined( GLSGEN_EXPORT_GLSMOVIETEXTURE ) || defined( GLSGEN_IMPORT_GLSMOVIETEXTURE ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
47 && defined( _MSC_VER )
48# if defined( GLSGEN_EXPORT_GLSMOVIETEXTURE ) || defined( GLS_EXPORT_GENERATED )
49# define GLSGEN_GLSMOVIETEXTURE_EXPORT __declspec( dllexport )
51# define GLSGEN_GLSMOVIETEXTURE_EXPORT __declspec( dllimport )
54# define GLSGEN_GLSMOVIETEXTURE_EXPORT
59#define LIB_BASE_NAME "gls_movie_texture"
65# define LIB_BASE_NAME "strmbase"
70# define GLS_LIB_TYPE ""
83 GLS_GLSMOVIETEXTURE_FIRST_VALUE = GLS_LAST_INITIALIZER + 1,
84 GLS_GLSMOVIETEXTURE_MOVIESOURCE,
85 GLS_GLSMOVIETEXTURE_LOOP,
86 GLS_GLSMOVIETEXTURE_SOUNDENABLED,
87 GLS_GLSMOVIETEXTURE_SOUNDVOLUME
93 friend class GlsMovieTextureEditor;
100 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
Definition: dynamic_array.h:79
The Polygon class. Implements Polygons.
Definition: glpolygon.h:56
Definition: gls_movie_texture.h:92
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) DISTI_METHOD_OVERRIDE
virtual float SoundVolume()
virtual int DurationInMS()
virtual void SetAvailableAttributes(unsigned int value) DISTI_METHOD_OVERRIDE
GlsPropString _movieFile
Stores the name of the movie file.
Definition: gls_movie_texture.h:193
virtual void Draw() DISTI_METHOD_OVERRIDE
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array) DISTI_METHOD_OVERRIDE
virtual bool SoundEnabled()
virtual DisplayObject * CloneObject(bool generateNames=false) DISTI_METHOD_OVERRIDE
unsigned int _previousAbsoluteFrame
Stores the previous frame count.
Definition: gls_movie_texture.h:199
virtual void PreDraw(const OpenGLMatrices &parentMatrices, Culler &culler) DISTI_METHOD_OVERRIDE
CVideoTexture * _vidTex
Instance of CVideoTexture class that interfaces with D3D.
Definition: gls_movie_texture.h:200
virtual unsigned int CurrentAbsoluteFrame()
virtual void SetValue(int spec, va_list &args) DISTI_METHOD_OVERRIDE
float _soundVolume
Controls colume of sound (from 0.0f to 1.0f).
Definition: gls_movie_texture.h:195
virtual GlsPropString MovieSource()
virtual void Calculate(double time) DISTI_METHOD_OVERRIDE
static DisplayObject * CreateInstance()
float _previousPlayPositionPercent
Stores the previous play position percent.
Definition: gls_movie_texture.h:197
float _playPositionPercent
Stores the current play position percent.
Definition: gls_movie_texture.h:196
virtual float PlayPosition()
bool _soundEnabled
States whether sound should be enabled or not.
Definition: gls_movie_texture.h:194
unsigned int _currentAbsoluteFrame
Stores the current frame of the movie.
Definition: gls_movie_texture.h:198
virtual void CopyProperties(DisplayObject *src) DISTI_METHOD_OVERRIDE
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:544
The disti::GLPolygon class. Implements Polygons.
Macros and helper code to determine what subset of C++11/14/17 is available.
#define DISTI_SPECIAL_MEM_FUN_DELETE
Macro to wrap function deletion, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:235
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:457
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:214
#define GLSGEN_GLSMOVIETEXTURE_EXPORT
Provides support for creating DLLs.
Definition: gls_movie_texture.h:54
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47