Go to the documentation of this file.
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;}
ExternalTextureSource()
Constructor.
void setInputName(String sIN)
Sets an input file name - if needed by plugin.
const String & getPluginStringName(void) const
Returns the string name of this Plugin (as set by the Plugin)
void addBaseParams()
Call from derived classes to ensure the dictionary is setup.
eTexturePlayMode
Enum for type of texture play mode.
String doGet(const void *target) const
String doGet(const void *target) const
virtual void destroyAdvancedTexture(const String &sTextureName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)=0
What this destroys is dependent on the plugin...
virtual void shutDown()=0
Shuts down Plugin.
void setTextureTecPassStateLevel(int t, int p, int s)
Used for attaching texture to Technique, State, and texture unit layer.
void doSet(void *target, const String &val)
static CmdTecPassState msCmdTecPassState
Command for setting play mode.
void doSet(void *target, const String &val)
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...
Abstract class which is command object which gets/sets parameters.
IMPORTANT: Plugins must override default dictionary name! Base class that texture plugins derive from...
virtual bool initialise()=0
Call this function from manager to init system.
const String & getInputName() const
Gets currently set input file name.
String doGet(const void *target) const
virtual ~ExternalTextureSource()
Virtual destructor.
void doSet(void *target, const String &val)
static String DEFAULT_RESOURCE_GROUP_NAME
Default resource group name.
static CmdFPS msCmdFramesPerSecond
Command for setting input file name.
eTexturePlayMode getPlayMode() const
Gets currently set play mode.
void doSet(void *target, const String &val)
const String & getDictionaryStringName(void) const
Returns dictionary name.
Class defining the common interface which classes can use to present a reflection-style,...
static CmdInputFileName msCmdInputFile
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.
int getFPS() const
Gets currently set frames per second.
@ TextureEffectPlay_Looping
Video starts playing as soon as possible.
void getTextureTecPassStateLevel(int &t, int &p, int &s) const
Get currently selected Texture attribs.
String doGet(const void *target) const
String mDictionaryName
The string name of the dictionary name - each plugin must override default name.
static CmdPlayMode msCmdPlayMode
Command for setting frames per second.
@ TextureEffectPlay_ASAP
Video starts out paused.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.