Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
renderingengine.cpp File Reference
#include <optional>
#include <irrlicht.h>
#include "IMeshCache.h"
#include "fontengine.h"
#include "client.h"
#include "clouds.h"
#include "util/numeric.h"
#include "guiscalingfilter.h"
#include "localplayer.h"
#include "client/hud.h"
#include "client/texturesource.h"
#include "camera.h"
#include "minimap.h"
#include "clientmap.h"
#include "renderingengine.h"
#include "render/core.h"
#include "render/factory.h"
#include "filesys.h"
#include "irrlicht_changes/static_text.h"
#include "irr_ptr.h"
+ Include dependency graph for renderingengine.cpp:

Classes

class  FogShaderConstantSetter
 

Functions

static std::optional< video::E_DRIVER_TYPE > chooseVideoDriver ()
 
static auto getVideoDriverName (video::E_DRIVER_TYPE driver)
 
static irr::IrrlichtDevice * createDevice (SIrrlichtCreationParameters params, std::optional< video::E_DRIVER_TYPE > requested_driver)
 

Function Documentation

◆ chooseVideoDriver()

static std::optional< video::E_DRIVER_TYPE > chooseVideoDriver ( )
static

References errorstream, g_settings, Settings::get(), RenderingEngine::getSupportedVideoDrivers(), and RenderingEngine::getVideoDriverInfo().

Referenced by RenderingEngine::RenderingEngine().

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

◆ createDevice()

static irr::IrrlichtDevice * createDevice ( SIrrlichtCreationParameters params,
std::optional< video::E_DRIVER_TYPE > requested_driver )
static

References errorstream, RenderingEngine::getSupportedVideoDrivers(), getVideoDriverName(), sanity_check, and verbosestream.

Referenced by RenderingEngine::RenderingEngine().

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

◆ getVideoDriverName()

static auto getVideoDriverName ( video::E_DRIVER_TYPE driver)
inlinestatic

References VideoDriverInfo::friendly_name, and RenderingEngine::getVideoDriverInfo().

Referenced by RenderingEngine::RenderingEngine(), and createDevice().

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