OpenMW
|
Public Member Functions | |
ShaderBasedRenderManager & | getInstance () |
ShaderBasedRenderManager * | getInstancePtr () |
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 |
typedef std::map<std::string, ITexture*> MyGUI::ShaderBasedRenderManager::MapTexture [private] |
void MyGUI::ShaderBasedRenderManager::begin | ( | ) | [inline] |
ITexture* MyGUI::ShaderBasedRenderManager::createTexture | ( | const std::string & | _name | ) | [inline] |
IVertexBuffer* MyGUI::ShaderBasedRenderManager::createVertexBuffer | ( | ) | [inline] |
void MyGUI::ShaderBasedRenderManager::destroyAllResources | ( | ) | [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::end | ( | ) | [inline] |
void MyGUI::ShaderBasedRenderManager::eventOccurred | ( | const Ogre::String & | eventName, |
const Ogre::NameValuePairList * | parameters | ||
) | [inline] |
size_t MyGUI::ShaderBasedRenderManager::getActiveViewport | ( | ) | [inline] |
size_t MyGUI::ShaderBasedRenderManager::getBatchCount | ( | ) | const [inline] |
const RenderTargetInfo& MyGUI::ShaderBasedRenderManager::getInfo | ( | ) | [inline] |
bool MyGUI::ShaderBasedRenderManager::getManualRender | ( | ) | [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::shutdown | ( | ) | [inline] |
void MyGUI::ShaderBasedRenderManager::updateRenderInfo | ( | ) | [inline] |
void MyGUI::ShaderBasedRenderManager::windowResized | ( | Ogre::RenderWindow * | _window | ) | [inline] |
unsigned short MyGUI::ShaderBasedRenderManager::mActiveViewport [private] |
Ogre::LayerBlendModeEx MyGUI::ShaderBasedRenderManager::mAlphaBlendMode [private] |
Ogre::LayerBlendModeEx MyGUI::ShaderBasedRenderManager::mColorBlendMode [private] |
size_t MyGUI::ShaderBasedRenderManager::mCountBatch [private] |
Ogre::GpuProgram* MyGUI::ShaderBasedRenderManager::mFragmentProgramNoTexture [private] |
Ogre::GpuProgram* MyGUI::ShaderBasedRenderManager::mFragmentProgramOneTexture [private] |
RenderTargetInfo MyGUI::ShaderBasedRenderManager::mInfo [private] |
bool MyGUI::ShaderBasedRenderManager::mIsInitialise [private] |
bool MyGUI::ShaderBasedRenderManager::mManualRender [private] |
Ogre::RenderSystem* MyGUI::ShaderBasedRenderManager::mRenderSystem [private] |
Ogre::SceneManager* MyGUI::ShaderBasedRenderManager::mSceneManager [private] |
Ogre::TextureUnitState::UVWAddressingMode MyGUI::ShaderBasedRenderManager::mTextureAddressMode [private] |
bool MyGUI::ShaderBasedRenderManager::mUpdate [private] |
VertexColourType MyGUI::ShaderBasedRenderManager::mVertexFormat [private] |
Ogre::GpuProgram* MyGUI::ShaderBasedRenderManager::mVertexProgramNoTexture [private] |
Ogre::GpuProgram* MyGUI::ShaderBasedRenderManager::mVertexProgramOneTexture [private] |
IntSize MyGUI::ShaderBasedRenderManager::mViewSize [private] |
Ogre::RenderWindow* MyGUI::ShaderBasedRenderManager::mWindow [private] |