PixelLightAPI
.
|
Renderer application class. More...
#include <RendererApplication.h>
Protected Member Functions | |
virtual PLRENDERER_API bool | OnStart () override |
Initialization function that is called prior to OnInit() | |
virtual PLRENDERER_API void | OnStop () override |
De-initialization function that is called after OnDeInit() | |
virtual PLRENDERER_API void | OnFullscreenMode () override |
Called when the fullscreen mode was changed. | |
virtual PLRENDERER_API void | OnDraw () override |
Called to let the frontend draw into it's window. | |
virtual PLRENDERER_API void | OnUpdate () override |
Called to let the frontend update it's states. | |
virtual PLRENDERER_API void | OnCreateRendererContext () |
Function that is called to create the application's renderer context. | |
virtual PLRENDERER_API void | OnCreatePainter () |
Function that is called to create the application's surface painter. | |
Protected Attributes | |
PLCore::String | m_sSurfacePainter |
PLRenderer::RendererContext * | m_pRendererContext |
PLRenderer::DisplayMode * | m_pDisplayMode |
Renderer application class.
virtual PLRENDERER_API bool PLRenderer::RendererApplication::OnStart | ( | ) | [override, protected, virtual] |
Initialization function that is called prior to OnInit()
Reimplemented from PLCore::CoreApplication.
Reimplemented in PLEngine::EngineApplication, and PLScene::SceneApplication.
virtual PLRENDERER_API void PLRenderer::RendererApplication::OnStop | ( | ) | [override, protected, virtual] |
De-initialization function that is called after OnDeInit()
Reimplemented from PLCore::FrontendApplication.
Reimplemented in PLEngine::EngineApplication, and PLScene::SceneApplication.
virtual PLRENDERER_API void PLRenderer::RendererApplication::OnFullscreenMode | ( | ) | [override, protected, virtual] |
Called when the fullscreen mode was changed.
Reimplemented from PLCore::FrontendApplication.
virtual PLRENDERER_API void PLRenderer::RendererApplication::OnDraw | ( | ) | [override, protected, virtual] |
Called to let the frontend draw into it's window.
Reimplemented from PLCore::FrontendApplication.
virtual PLRENDERER_API void PLRenderer::RendererApplication::OnUpdate | ( | ) | [override, protected, virtual] |
Called to let the frontend update it's states.
Reimplemented from PLCore::FrontendApplication.
Reimplemented in PLEngine::EngineApplication, PLEngine::ScriptApplication, and PLScene::SceneApplication.
virtual PLRENDERER_API void PLRenderer::RendererApplication::OnCreateRendererContext | ( | ) | [protected, virtual] |
Function that is called to create the application's renderer context.
virtual PLRENDERER_API void PLRenderer::RendererApplication::OnCreatePainter | ( | ) | [protected, virtual] |
Function that is called to create the application's surface painter.
Surface painter class to use
The renderer context, can be a null pointer
Display mode, always valid!
|