OpenMW
Public Member Functions | Private Types | Private Attributes
MyGUI::ShaderBasedRenderManager Class Reference

List of all members.

Public Member Functions

ShaderBasedRenderManagergetInstance ()
ShaderBasedRenderManagergetInstancePtr ()
 ShaderBasedRenderManager ()
void initialise (Ogre::RenderWindow *_window, Ogre::SceneManager *_scene)
void shutdown ()
void setRenderSystem (Ogre::RenderSystem *_render)
Ogre::RenderSystem * getRenderSystem ()
void setRenderWindow (Ogre::RenderWindow *_window)
void setSceneManager (Ogre::SceneManager *_scene)
void setActiveViewport (unsigned short _num)
void renderQueueStarted (Ogre::uint8 queueGroupId, const Ogre::String &invocation, bool &skipThisInvocation)
void renderQueueEnded (Ogre::uint8 queueGroupId, const Ogre::String &invocation, bool &repeatThisInvocation)
void eventOccurred (const Ogre::String &eventName, const Ogre::NameValuePairList *parameters)
IVertexBuffer * createVertexBuffer ()
void destroyVertexBuffer (IVertexBuffer *_buffer)
void windowResized (Ogre::RenderWindow *_window)
void updateRenderInfo ()
void doRender (IVertexBuffer *_buffer, ITexture *_texture, size_t _count)
void begin ()
void end ()
ITexture * createTexture (const std::string &_name)
void destroyTexture (ITexture *_texture)
ITexture * getTexture (const std::string &_name)
bool isFormatSupported (PixelFormat _format, TextureUsage _usage)
void destroyAllResources ()
const IntSize & getViewSize () const
VertexColourType getVertexFormat ()
const RenderTargetInfo & getInfo ()
size_t getActiveViewport ()
Ogre::RenderWindow * getRenderWindow ()
bool getManualRender ()
void setManualRender (bool _value)
size_t getBatchCount () const

Private Types

typedef std::map< std::string,
ITexture * > 
MapTexture

Private Attributes

bool mUpdate
IntSize mViewSize
Ogre::SceneManager * mSceneManager
VertexColourType mVertexFormat
Ogre::RenderWindow * mWindow
unsigned short mActiveViewport
Ogre::RenderSystem * mRenderSystem
Ogre::TextureUnitState::UVWAddressingMode mTextureAddressMode
Ogre::LayerBlendModeEx mColorBlendMode
Ogre::LayerBlendModeEx mAlphaBlendMode
RenderTargetInfo mInfo
MapTexture mTextures
bool mIsInitialise
bool mManualRender
size_t mCountBatch
Ogre::GpuProgram * mVertexProgramNoTexture
Ogre::GpuProgram * mVertexProgramOneTexture
Ogre::GpuProgram * mFragmentProgramNoTexture
Ogre::GpuProgram * mFragmentProgramOneTexture

Member Typedef Documentation

typedef std::map<std::string, ITexture*> MyGUI::ShaderBasedRenderManager::MapTexture [private]

Constructor & Destructor Documentation


Member Function Documentation

ITexture* MyGUI::ShaderBasedRenderManager::createTexture ( const std::string &  _name) [inline]
void MyGUI::ShaderBasedRenderManager::destroyTexture ( ITexture *  _texture) [inline]
void MyGUI::ShaderBasedRenderManager::destroyVertexBuffer ( IVertexBuffer *  _buffer) [inline]
void MyGUI::ShaderBasedRenderManager::doRender ( IVertexBuffer *  _buffer,
ITexture *  _texture,
size_t  _count 
) [inline]
void MyGUI::ShaderBasedRenderManager::eventOccurred ( const Ogre::String &  eventName,
const Ogre::NameValuePairList *  parameters 
) [inline]
const RenderTargetInfo& MyGUI::ShaderBasedRenderManager::getInfo ( ) [inline]
Ogre::RenderSystem* MyGUI::ShaderBasedRenderManager::getRenderSystem ( ) [inline]
Ogre::RenderWindow* MyGUI::ShaderBasedRenderManager::getRenderWindow ( ) [inline]
ITexture* MyGUI::ShaderBasedRenderManager::getTexture ( const std::string &  _name) [inline]
VertexColourType MyGUI::ShaderBasedRenderManager::getVertexFormat ( ) [inline]
const IntSize& MyGUI::ShaderBasedRenderManager::getViewSize ( ) const [inline]
void MyGUI::ShaderBasedRenderManager::initialise ( Ogre::RenderWindow *  _window,
Ogre::SceneManager *  _scene 
) [inline]
bool MyGUI::ShaderBasedRenderManager::isFormatSupported ( PixelFormat  _format,
TextureUsage  _usage 
) [inline]
void MyGUI::ShaderBasedRenderManager::renderQueueEnded ( Ogre::uint8  queueGroupId,
const Ogre::String &  invocation,
bool &  repeatThisInvocation 
) [inline]
void MyGUI::ShaderBasedRenderManager::renderQueueStarted ( Ogre::uint8  queueGroupId,
const Ogre::String &  invocation,
bool &  skipThisInvocation 
) [inline]
void MyGUI::ShaderBasedRenderManager::setActiveViewport ( unsigned short  _num) [inline]
void MyGUI::ShaderBasedRenderManager::setManualRender ( bool  _value) [inline]
void MyGUI::ShaderBasedRenderManager::setRenderSystem ( Ogre::RenderSystem *  _render) [inline]
void MyGUI::ShaderBasedRenderManager::setRenderWindow ( Ogre::RenderWindow *  _window) [inline]
void MyGUI::ShaderBasedRenderManager::setSceneManager ( Ogre::SceneManager *  _scene) [inline]
void MyGUI::ShaderBasedRenderManager::windowResized ( Ogre::RenderWindow *  _window) [inline]

Member Data Documentation

Ogre::LayerBlendModeEx MyGUI::ShaderBasedRenderManager::mAlphaBlendMode [private]
Ogre::LayerBlendModeEx MyGUI::ShaderBasedRenderManager::mColorBlendMode [private]
RenderTargetInfo MyGUI::ShaderBasedRenderManager::mInfo [private]
Ogre::RenderSystem* MyGUI::ShaderBasedRenderManager::mRenderSystem [private]
Ogre::SceneManager* MyGUI::ShaderBasedRenderManager::mSceneManager [private]
Ogre::TextureUnitState::UVWAddressingMode MyGUI::ShaderBasedRenderManager::mTextureAddressMode [private]
Ogre::RenderWindow* MyGUI::ShaderBasedRenderManager::mWindow [private]

The documentation for this class was generated from the following file: