#include <core.h>
Public Member Functions | |
RenderingCore (IrrlichtDevice *device, Client *client, Hud *hud, ShadowRenderer *shadow_renderer, RenderPipeline *pipeline, v2f virtual_size_scale) | |
RenderingCore (const RenderingCore &)=delete | |
RenderingCore (RenderingCore &&)=delete | |
virtual | ~RenderingCore () |
RenderingCore & | operator= (const RenderingCore &)=delete |
RenderingCore & | operator= (RenderingCore &&)=delete |
void | draw (video::SColor _skycolor, bool _show_hud, bool _draw_wield_tool, bool _draw_crosshair) |
v2u32 | getVirtualSize () const |
ShadowRenderer * | get_shadow_renderer () |
Protected Attributes | |
IrrlichtDevice * | device |
Client * | client |
Hud * | hud |
ShadowRenderer * | shadow_renderer |
RenderPipeline * | pipeline |
v2f | virtual_size_scale |
v2u32 | virtual_size { 0, 0 } |
RenderingCore::RenderingCore | ( | IrrlichtDevice * | device, |
Client * | client, | ||
Hud * | hud, | ||
ShadowRenderer * | shadow_renderer, | ||
RenderPipeline * | pipeline, | ||
v2f | virtual_size_scale ) |
|
delete |
|
delete |
|
virtual |
References pipeline, and shadow_renderer.
void RenderingCore::draw | ( | video::SColor | _skycolor, |
bool | _show_hud, | ||
bool | _draw_wield_tool, | ||
bool | _draw_crosshair ) |
References device, PipelineContext::draw_crosshair, PipelineContext::draw_wield_tool, hud, pipeline, RenderPipeline::reset(), RenderPipeline::run(), shadow_renderer, PipelineContext::show_hud, virtual_size, and virtual_size_scale.
Referenced by RenderingEngine::draw_scene().
|
inline |
References shadow_renderer.
Referenced by RenderingEngine::get_shadow_renderer().
v2u32 RenderingCore::getVirtualSize | ( | ) | const |
References virtual_size.
Referenced by RenderingEngine::_getWindowSize().
|
delete |
|
delete |
|
protected |
|
protected |
Referenced by draw().
|
protected |
Referenced by ~RenderingCore(), and draw().
|
protected |
Referenced by ~RenderingCore(), draw(), and get_shadow_renderer().
|
protected |
Referenced by draw(), and getVirtualSize().