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,
int getFPS() const
Gets currently set frames per second.
static CmdPlayMode msCmdPlayMode
Command for setting frames per second.
void getTextureTecPassStateLevel(int &t, int &p, int &s) const
Get currently selected Texture attribs.
static CmdFPS msCmdFramesPerSecond
Command for setting input file name.
static String DEFAULT_RESOURCE_GROUP_NAME
Default resource group name.
Video starts playing as soon as possible.
void setTextureTecPassStateLevel(int t, int p, int s)
Used for attaching texture to Technique, State, and texture unit layer.
eTexturePlayMode
Enum for type of texture play mode.
void setPlayMode(eTexturePlayMode eMode)
Sets a play mode.
void setFPS(int iFPS)
Sets the frames per second - plugin may or may not use this.
String mPluginName
Command for setting the technique, pass, & state level.
Class defining the common interface which classes can use to present a reflection-style, self-defining parameter set to callers.
const String & getInputName() const
Gets currently set input file name.
static CmdTecPassState msCmdTecPassState
Command for setting play mode.
eTexturePlayMode getPlayMode() const
Gets currently set play mode.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
String mDictionaryName
The string name of the dictionary name - each plugin must override default name.
virtual ~ExternalTextureSource()
Virtual destructor.
const String & getDictionaryStringName(void) const
Returns dictionary name.
const String & getPluginStringName(void) const
Returns the string name of this Plugin (as set by the Plugin)
Abstract class which is command object which gets/sets parameters.
IMPORTANT: Plugins must override default dictionary name! Base class that texture plugins derive from...
void setInputName(String sIN)
Sets an input file name - if needed by plugin.
static CmdInputFileName msCmdInputFile