#include <MyGUI_RenderManager.h>
Definition at line 20 of file MyGUI_RenderManager.h.
◆ RenderManager()
MyGUI::RenderManager::RenderManager |
( |
| ) |
|
◆ ~RenderManager()
virtual MyGUI::RenderManager::~RenderManager |
( |
| ) |
|
|
virtualdefault |
◆ createTexture()
virtual ITexture * MyGUI::RenderManager::createTexture |
( |
const std::string & |
_name | ) |
|
|
pure virtual |
Create empty texture instance
◆ createVertexBuffer()
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.
◆ destroyTexture()
virtual void MyGUI::RenderManager::destroyTexture |
( |
ITexture * |
_texture | ) |
|
|
pure virtual |
◆ destroyVertexBuffer()
virtual void MyGUI::RenderManager::destroyVertexBuffer |
( |
IVertexBuffer * |
_buffer | ) |
|
|
pure virtual |
◆ getClassTypeName()
static const char * MyGUI::RenderManager::getClassTypeName |
( |
| ) |
|
|
static |
◆ getInstance()
◆ getInstancePtr()
◆ getTexture()
virtual ITexture * MyGUI::RenderManager::getTexture |
( |
const std::string & |
_name | ) |
|
|
pure virtual |
◆ getVertexFormat()
Get current vertex colour type
◆ getViewSize()
virtual const IntSize & MyGUI::RenderManager::getViewSize |
( |
| ) |
const |
|
pure virtual |
◆ isFormatSupported()
◆ onFrameEvent()
void MyGUI::RenderManager::onFrameEvent |
( |
float |
_time | ) |
|
|
protectedvirtual |
◆ onRenderToTarget()
void MyGUI::RenderManager::onRenderToTarget |
( |
IRenderTarget * |
_target, |
|
|
bool |
_update |
|
) |
| |
|
protectedvirtual |
◆ onResizeView()
void MyGUI::RenderManager::onResizeView |
( |
const IntSize & |
_viewSize | ) |
|
|
protectedvirtual |
◆ registerShader()
virtual void MyGUI::RenderManager::registerShader |
( |
const std::string & |
_shaderName, |
|
|
const std::string & |
_vertexProgramFile, |
|
|
const std::string & |
_fragmentProgramFile |
|
) |
| |
|
pure virtual |
Register shader, that can set with ITexture::setShader. Registering "Default" shader would change main shader, used for all textures without shader.
◆ setViewSize()
virtual void MyGUI::RenderManager::setViewSize |
( |
int |
_width, |
|
|
int |
_height |
|
) |
| |
|
pure virtual |
Set render view size. Should be called on every window resize
The documentation for this class was generated from the following files: