Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
RenderingCore Class Reference

#include <core.h>

+ Collaboration diagram for RenderingCore:

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 ()
 
RenderingCoreoperator= (const RenderingCore &)=delete
 
RenderingCoreoperator= (RenderingCore &&)=delete
 
void draw (video::SColor _skycolor, bool _show_hud, bool _draw_wield_tool, bool _draw_crosshair)
 
v2u32 getVirtualSize () const
 
ShadowRendererget_shadow_renderer ()
 

Protected Attributes

IrrlichtDevice * device
 
Clientclient
 
Hudhud
 
ShadowRenderershadow_renderer
 
RenderPipelinepipeline
 
v2f virtual_size_scale
 
v2u32 virtual_size { 0, 0 }
 

Constructor & Destructor Documentation

◆ RenderingCore() [1/3]

RenderingCore::RenderingCore ( IrrlichtDevice * device,
Client * client,
Hud * hud,
ShadowRenderer * shadow_renderer,
RenderPipeline * pipeline,
v2f virtual_size_scale )

◆ RenderingCore() [2/3]

RenderingCore::RenderingCore ( const RenderingCore & )
delete

◆ RenderingCore() [3/3]

RenderingCore::RenderingCore ( RenderingCore && )
delete

◆ ~RenderingCore()

RenderingCore::~RenderingCore ( )
virtual

References pipeline, and shadow_renderer.

Member Function Documentation

◆ draw()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_shadow_renderer()

ShadowRenderer * RenderingCore::get_shadow_renderer ( )
inline

References shadow_renderer.

Referenced by RenderingEngine::get_shadow_renderer().

+ Here is the caller graph for this function:

◆ getVirtualSize()

v2u32 RenderingCore::getVirtualSize ( ) const

References virtual_size.

Referenced by RenderingEngine::_getWindowSize().

+ Here is the caller graph for this function:

◆ operator=() [1/2]

RenderingCore & RenderingCore::operator= ( const RenderingCore & )
delete

◆ operator=() [2/2]

RenderingCore & RenderingCore::operator= ( RenderingCore && )
delete

Member Data Documentation

◆ client

Client* RenderingCore::client
protected

◆ device

IrrlichtDevice* RenderingCore::device
protected

Referenced by draw().

◆ hud

Hud* RenderingCore::hud
protected

Referenced by draw().

◆ pipeline

RenderPipeline* RenderingCore::pipeline
protected

Referenced by ~RenderingCore(), and draw().

◆ shadow_renderer

ShadowRenderer* RenderingCore::shadow_renderer
protected

◆ virtual_size

v2u32 RenderingCore::virtual_size { 0, 0 }
protected

Referenced by draw(), and getVirtualSize().

◆ virtual_size_scale

v2f RenderingCore::virtual_size_scale
protected

Referenced by draw().


The documentation for this class was generated from the following files: