28 #ifndef _OgreExternalTextureSource_H
29 #define _OgreExternalTextureSource_H
89 String doGet(
const void* target)
const;
90 void doSet(
void* target,
const String& val);
95 String doGet(
const void* target)
const;
96 void doSet(
void* target,
const String& val);
101 String doGet(
const void* target)
const;
102 void doSet(
void* target,
const String& val);
107 String doGet(
const void* target)
const;
108 void doSet(
void* target,
const String& val);
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;}
135 void addBaseParams();
144 virtual bool initialise() = 0;
146 virtual void shutDown() = 0;
152 virtual void createDefinedTexture(
const String& sMaterialName,
157 virtual void destroyAdvancedTexture(
const String& sTextureName,
177 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 String DEFAULT_RESOURCE_GROUP_NAME
Default resource group name.
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.
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.