#include <renderingengine.h>
 | 
| static const video::SColor  | MENU_SKY_COLOR = video::SColor(255, 140, 186, 250) | 
|   | 
◆ RenderingEngine()
References chooseVideoDriver(), createDevice(), DIR_DELIM, driver, g_settings, Settings::get(), Settings::getBool(), Settings::getU16(), getVideoDriverName(), m_device, m_receiver, MYMAX, porting::path_share, Settings::registerChangedCallback(), s_singleton, sanity_check, settingChangedCallback(), tracestream, and verbosestream.
 
 
◆ ~RenderingEngine()
      
        
          | RenderingEngine::~RenderingEngine  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ _getWindowSize()
  
  
      
        
          | v2u32 RenderingEngine::_getWindowSize  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
private   | 
  
 
 
◆ autosaveScreensizeAndCo()
  
  
      
        
          | void RenderingEngine::autosaveScreensizeAndCo  | 
          ( | 
          const irr::core::dimension2d< u32 > |           initial_screen_size,  | 
         
        
           | 
           | 
          const bool |           initial_window_maximized ) | 
         
       
   | 
  
static   | 
  
 
 
◆ cleanupMeshCache()
      
        
          | void RenderingEngine::cleanupMeshCache  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ draw_load_screen()
      
        
          | void RenderingEngine::draw_load_screen  | 
          ( | 
          const std::wstring & |           text,  | 
        
        
           | 
           | 
          gui::IGUIEnvironment * |           guienv,  | 
        
        
           | 
           | 
          ITextureSource * |           tsrc,  | 
        
        
           | 
           | 
          float |           dtime = 0,  | 
        
        
           | 
           | 
          int |           percent = 0,  | 
        
        
           | 
           | 
          float * |           indef_pos = nullptr ) | 
        
      
 
References irr::gui::StaticText::add(), draw2DImageFilterScaled(), driver, g_fontengine, g_menuclouds, g_menucloudsmgr, g_settings, get_video_driver(), Settings::getBool(), getDisplayDensity(), Settings::getFloat(), FontEngine::getLineHeight(), ITextureSource::getTexture(), FontEngine::getTextWidth(), getWindowSize(), guienv, MENU_SKY_COLOR, rangelim, and Clouds::step().
Referenced by Client::afterContentReceived(), Client::drawLoadScreen(), Game::getServerContent(), Game::showOverlayMessage(), and Client::showUpdateProgressTexture().
 
 
◆ draw_scene()
      
        
          | void RenderingEngine::draw_scene  | 
          ( | 
          video::SColor |           skycolor,  | 
        
        
           | 
           | 
          bool |           show_hud,  | 
        
        
           | 
           | 
          bool |           draw_wield_tool,  | 
        
        
           | 
           | 
          bool |           draw_crosshair ) | 
        
      
 
 
◆ finalize()
      
        
          | void RenderingEngine::finalize  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ get_filesystem()
  
  
      
        
          | io::IFileSystem * RenderingEngine::get_filesystem  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_gui_env()
  
  
      
        
          | gui::IGUIEnvironment * RenderingEngine::get_gui_env  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
References m_device.
Referenced by GUIEngine::GUIEngine(), ModApiMainMenu::l_open_url_dialog(), ModApiMainMenu::l_show_keys_menu(), ModApiMainMenu::l_show_path_select_dialog(), ModApiMainMenu::l_show_touchscreen_layout(), ClientLauncher::main_menu(), ClientLauncher::run(), GUIEngine::run(), GameFormSpec::showCSMFormSpec(), GameFormSpec::showDeathFormspecLegacy(), GameFormSpec::showFormSpec(), GameFormSpec::showNodeFormspec(), GameFormSpec::showPauseMenu(), GameFormSpec::showPauseMenuFormSpec(), GameFormSpec::showPlayerInventory(), and GUIEngine::updateTopLeftTextSize().
 
 
◆ get_raw_device()
  
  
      
        
          | static irr::IrrlichtDevice * RenderingEngine::get_raw_device  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
References m_device, s_singleton, and sanity_check.
Referenced by autosaveScreensizeAndCo(), GUIHyperText::checkHover(), GUIFormSpecMenu::drawMenu(), ImageSource::generateImagePart(), getDisplayDensity(), RealInputHandler::getMousePos(), HardcodedPauseFormspecHandler::gotText(), ClientLauncher::init_joysticks(), ModApiMainMenu::l_extract_zip(), ModApiMainMenu::l_get_active_irrlicht_device(), ModApiMenuCommon::l_irrlicht_device_supports_touch(), ClientLauncher::main_menu(), GUIHyperText::OnEvent(), MyEventReceiver::OnEvent(), ClientLauncher::run(), GUIEngine::run(), RealInputHandler::setMousePos(), and Game::startup().
 
 
◆ get_scene_manager()
  
  
      
        
          | scene::ISceneManager * RenderingEngine::get_scene_manager  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_shadow_renderer()
◆ get_video_driver()
  
  
      
        
          | static video::IVideoDriver * RenderingEngine::get_video_driver  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
References m_device, s_singleton, and sanity_check.
Referenced by GUIEngine::GUIEngine(), Hud::Hud(), Minimap::Minimap(), GUIEngine::~GUIEngine(), ShaderSource::~ShaderSource(), TextureSource::~TextureSource(), autosaveScreensizeAndCo(), blit_with_alpha(), ClientLauncher::config_guienv(), createInventoryCubeImage(), draw_load_screen(), Camera::drawNametags(), ImageSource::generateImagePart(), ShaderSource::generateShader(), TextureSource::generateTexture(), SourceImageCache::getOrLoad(), getTextureAsImage(), TextureSource::getTextureAverageColor(), guiScalingCacheClear(), SourceImageCache::insert(), TextureSource::insertSourceImage(), ModApiMenuCommon::l_get_active_driver(), ModApiMainMenu::l_get_active_renderer(), Client::loadMedia(), ClientLauncher::main_menu(), Client::makeScreenshot(), TextureSource::rebuildImagesAndTextures(), ShaderSource::rebuildShaders(), GUIFormSpecMenu::regenerateGui(), ClientLauncher::run(), GUIEngine::setTexture(), transformBuffersToDrawOrder(), and upscaleImagesToMatchLargest().
 
 
◆ getDisplayDensity()
  
  
      
        
          | float RenderingEngine::getDisplayDensity  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
References g_settings, get_raw_device(), porting::getDisplayDensity(), and Settings::getFloat().
Referenced by GUIModalMenu::GUIModalMenu(), GUIFormSpecMenu::calculateImgsize(), ClientLauncher::config_guienv(), draw_load_screen(), ButtonLayout::getButtonSize(), FontEngine::initFont(), layout_menu_row(), Hud::readScalingSetting(), Hud::resizeHotbar(), and TouchControls::translateEvent().
 
 
◆ getLastPointerType()
  
  
      
        
          | static PointerType RenderingEngine::getLastPointerType  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ getSupportedVideoDrivers()
  
  
      
        
          | std::vector< video::E_DRIVER_TYPE > RenderingEngine::getSupportedVideoDrivers  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ getVideoDriver()
  
  
      
        
          | video::IVideoDriver * RenderingEngine::getVideoDriver  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ getVideoDriverInfo()
  
  
      
        
          | const VideoDriverInfo & RenderingEngine::getVideoDriverInfo  | 
          ( | 
          irr::video::E_DRIVER_TYPE |           type | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ getWindowSize()
  
  
      
        
          | static v2u32 RenderingEngine::getWindowSize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ initialize()
      
        
          | void RenderingEngine::initialize  | 
          ( | 
          Client * |           client,  | 
        
        
           | 
           | 
          Hud * |           hud ) | 
        
      
 
 
◆ removeMesh()
      
        
          | void RenderingEngine::removeMesh  | 
          ( | 
          const scene::IMesh * |           mesh | ) | 
           | 
        
      
 
 
◆ run()
  
  
      
        
          | bool RenderingEngine::run  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setResizable()
      
        
          | void RenderingEngine::setResizable  | 
          ( | 
          bool |           resize | ) | 
           | 
        
      
 
 
◆ settingChangedCallback()
  
  
      
        
          | void RenderingEngine::settingChangedCallback  | 
          ( | 
          const std::string & |           name,  | 
         
        
           | 
           | 
          void * |           data ) | 
         
       
   | 
  
staticprivate   | 
  
 
 
◆ setupTopLevelWindow()
      
        
          | bool RenderingEngine::setupTopLevelWindow  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ setWindowIcon()
      
        
          | bool RenderingEngine::setWindowIcon  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ core
◆ driver
  
  
      
        
          | irr::video::IVideoDriver* RenderingEngine::driver | 
         
       
   | 
  
private   | 
  
 
 
◆ m_device
  
  
      
        
          | irr::IrrlichtDevice* RenderingEngine::m_device = nullptr | 
         
       
   | 
  
private   | 
  
 
Referenced by RenderingEngine(), ~RenderingEngine(), _getWindowSize(), cleanupMeshCache(), get_filesystem(), get_gui_env(), get_raw_device(), get_scene_manager(), get_video_driver(), initialize(), removeMesh(), run(), setResizable(), settingChangedCallback(), and setWindowIcon().
 
 
◆ m_receiver
◆ MENU_SKY_COLOR
  
  
      
        
          | const video::SColor RenderingEngine::MENU_SKY_COLOR = video::SColor(255, 140, 186, 250) | 
         
       
   | 
  
static   | 
  
 
 
◆ s_singleton
The documentation for this class was generated from the following files: