28 #ifndef _OgreExternalTextureSource_H
29 #define _OgreExternalTextureSource_H
119 void setFPS(
int iFPS ) { mFramesPerSecond = iFPS; }
121 int getFPS( )
const {
return mFramesPerSecond; }
129 { mTechniqueLevel = t;mPassLevel = p;mStateLevel = s; }
132 {t = mTechniqueLevel; p = mPassLevel; s = mStateLevel;}
void doSet(void *target, const String &val)
String doGet(const void *target) const
void doSet(void *target, const String &val)
String doGet(const void *target) const
String doGet(const void *target) const
void doSet(void *target, const String &val)
String doGet(const void *target) const
void doSet(void *target, const String &val)
IMPORTANT: Plugins must override default dictionary name! Base class that texture plugins derive from...
static CmdInputFileName msCmdInputFile
int getFPS() const
Gets currently set frames per second.
virtual void destroyAdvancedTexture(const String &sTextureName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)=0
What this destroys is dependent on the plugin...
ExternalTextureSource()
Constructor.
const String & getInputName() const
Gets currently set input file name.
virtual bool initialise()=0
Call this function from manager to init system.
void addBaseParams()
Call from derived classes to ensure the dictionary is setup.
void getTextureTecPassStateLevel(int &t, int &p, int &s) const
Get currently selected Texture attribs.
const String & getDictionaryStringName(void) const
Returns dictionary name.
void setPlayMode(eTexturePlayMode eMode)
Sets a play mode.
virtual void createDefinedTexture(const String &sMaterialName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)=0
Creates a texture into an already defined material or one that is created new (it's up to plugin to u...
const String & getPluginStringName(void) const
Returns the string name of this Plugin (as set by the Plugin)
static CmdTecPassState msCmdTecPassState
Command for setting play mode.
String mPluginName
Command for setting the technique, pass, & state level.
eTexturePlayMode getPlayMode() const
Gets currently set play mode.
void setTextureTecPassStateLevel(int t, int p, int s)
Used for attaching texture to Technique, State, and texture unit layer.
static CmdPlayMode msCmdPlayMode
Command for setting frames per second.
virtual ~ExternalTextureSource()
Virtual destructor.
void setInputName(String sIN)
Sets an input file name - if needed by plugin.
static CmdFPS msCmdFramesPerSecond
Command for setting input file name.
virtual void shutDown()=0
Shuts down Plugin.
String mDictionaryName
The string name of the dictionary name - each plugin must override default name.
void setFPS(int iFPS)
Sets the frames per second - plugin may or may not use this.
Abstract class which is command object which gets/sets parameters.
static String DEFAULT_RESOURCE_GROUP_NAME
Default resource group name.
Class defining the common interface which classes can use to present a reflection-style,...
eTexturePlayMode
Enum for type of texture play mode.
@ TextureEffectPlay_Looping
Video starts playing as soon as possible.
@ TextureEffectPlay_ASAP
Video starts out paused.