|
MyGUI
3.2.0
|
#include <MyGUI_RenderManager.h>
Inheritance diagram for MyGUI::RenderManager:Public Member Functions | |
| virtual IVertexBuffer * | createVertexBuffer ()=0 |
| virtual void | destroyVertexBuffer (IVertexBuffer *_buffer)=0 |
| virtual ITexture * | createTexture (const std::string &_name)=0 |
| virtual void | destroyTexture (ITexture *_texture)=0 |
| virtual ITexture * | getTexture (const std::string &_name)=0 |
| virtual const IntSize & | getViewSize () const =0 |
| virtual VertexColourType | getVertexFormat ()=0 |
| virtual bool | isFormatSupported (PixelFormat _format, TextureUsage _usage) |
Protected Member Functions | |
| virtual void | onResizeView (const IntSize &_viewSize) |
| virtual void | onRenderToTarget (IRenderTarget *_target, bool _update) |
| virtual void | onFrameEvent (float _time) |
Definition at line 35 of file MyGUI_RenderManager.h.
| virtual ITexture* MyGUI::RenderManager::createTexture | ( | const std::string & | _name | ) | [pure virtual] |
Create empty texture instance
| virtual IVertexBuffer* MyGUI::RenderManager::createVertexBuffer | ( | ) | [pure virtual] |
Create vertex buffer. This method should create vertex buffer with triangles list type, each vertex have position, colour, texture coordinates.
| virtual void MyGUI::RenderManager::destroyTexture | ( | ITexture * | _texture | ) | [pure virtual] |
Destroy texture
| virtual void MyGUI::RenderManager::destroyVertexBuffer | ( | IVertexBuffer * | _buffer | ) | [pure virtual] |
Destroy vertex buffer
| virtual ITexture* MyGUI::RenderManager::getTexture | ( | const std::string & | _name | ) | [pure virtual] |
Get texture by name
| virtual VertexColourType MyGUI::RenderManager::getVertexFormat | ( | ) | [pure virtual] |
Get current vertex colour type
| virtual const IntSize& MyGUI::RenderManager::getViewSize | ( | ) | const [pure virtual] |
| bool MyGUI::RenderManager::isFormatSupported | ( | PixelFormat | _format, |
| TextureUsage | _usage | ||
| ) | [virtual] |
Check if texture format supported by hardware
Definition at line 33 of file MyGUI_RenderManager.cpp.
| void MyGUI::RenderManager::onFrameEvent | ( | float | _time | ) | [protected, virtual] |
Definition at line 59 of file MyGUI_RenderManager.cpp.
| void MyGUI::RenderManager::onRenderToTarget | ( | IRenderTarget * | _target, |
| bool | _update | ||
| ) | [protected, virtual] |
Definition at line 52 of file MyGUI_RenderManager.cpp.
| void MyGUI::RenderManager::onResizeView | ( | const IntSize & | _viewSize | ) | [protected, virtual] |
Definition at line 45 of file MyGUI_RenderManager.cpp.
1.7.6.1