28 #ifndef _OgreExternalTextureSource_H
29 #define _OgreExternalTextureSource_H
88 String doGet(
const void* target)
const;
89 void doSet(
void* target,
const String& val);
94 String doGet(
const void* target)
const;
95 void doSet(
void* target,
const String& val);
100 String doGet(
const void* target)
const;
101 void doSet(
void* target,
const String& val);
106 String doGet(
const void* target)
const;
107 void doSet(
void* target,
const String& val);
118 void setFPS(
int iFPS ) { mFramesPerSecond = iFPS; }
120 int getFPS( )
const {
return mFramesPerSecond; }
128 { mTechniqueLevel = t;mPassLevel = p;mStateLevel = s; }
131 {t = mTechniqueLevel; p = mPassLevel; s = mStateLevel;}
134 void addBaseParams();
143 virtual bool initialise() = 0;
145 virtual void shutDown() = 0;
151 virtual void createDefinedTexture(
const String& sMaterialName,
156 virtual void destroyAdvancedTexture(
const String& sTextureName,
176 int mFramesPerSecond,
static CmdInputFileName msCmdInputFile
eTexturePlayMode getPlayMode() const
Gets currently set play mode.
void setFPS(int iFPS)
Sets the frames per second - plugin may or may not use this.
IMPORTANT: Plugins must override default dictionary name! Base class that texture plugins derive from...
String mPluginName
Command for setting the technique, pass, & state level.
void setInputName(String sIN)
Sets an input file name - if needed by plugin.
static CmdTecPassState msCmdTecPassState
Command for setting play mode.
static CmdFPS msCmdFramesPerSecond
Command for setting input file name.
Video starts playing as soon as possible.
virtual ~ExternalTextureSource()
Virtual destructor.
Class defining the common interface which classes can use to present a reflection-style, self-defining parameter set to callers.
const String & getDictionaryStringName(void) const
Returns dictionary name.
const String & getInputName() const
Gets currently set input file name.
static OGRE_AUTO_MUTEX String DEFAULT_RESOURCE_GROUP_NAME
Default resource group name.
const String & getPluginStringName(void) const
Returns the string name of this Plugin (as set by the Plugin)
static CmdPlayMode msCmdPlayMode
Command for setting frames per second.
String mDictionaryName
The string name of the dictionary name - each plugin must override default name.
eTexturePlayMode
Enum for type of texture play mode.
void getTextureTecPassStateLevel(int &t, int &p, int &s) const
Get currently selected Texture attribs.
void setPlayMode(eTexturePlayMode eMode)
Sets a play mode.
void setTextureTecPassStateLevel(int t, int p, int s)
Used for attaching texture to Technique, State, and texture unit layer.
int getFPS() const
Gets currently set frames per second.
Abstract class which is command object which gets/sets parameters.