Minetest  5.4.0
RenderingCoreInterlaced Class Reference

#include <interlaced.h>

+ Inheritance diagram for RenderingCoreInterlaced:
+ Collaboration diagram for RenderingCoreInterlaced:

Public Member Functions

 RenderingCoreInterlaced (IrrlichtDevice *_device, Client *_client, Hud *_hud)
 
void drawAll () override
 
- Public Member Functions inherited from RenderingCoreStereo
 RenderingCoreStereo (IrrlichtDevice *_device, Client *_client, Hud *_hud)
 
- Public Member Functions inherited from RenderingCore
 RenderingCore (IrrlichtDevice *_device, Client *_client, Hud *_hud)
 
 RenderingCore (const RenderingCore &)=delete
 
 RenderingCore (RenderingCore &&)=delete
 
virtual ~RenderingCore ()
 
RenderingCoreoperator= (const RenderingCore &)=delete
 
RenderingCoreoperator= (RenderingCore &&)=delete
 
void initialize ()
 
void draw (video::SColor _skycolor, bool _show_hud, bool _show_minimap, bool _draw_wield_tool, bool _draw_crosshair)
 
v2u32 getVirtualSize () const
 

Protected Member Functions

void initMaterial ()
 
void initTextures () override
 
void clearTextures () override
 
void initMask ()
 
void useEye (bool right) override
 
void resetEye () override
 
void merge ()
 
- Protected Member Functions inherited from RenderingCoreStereo
void beforeDraw () override
 
void renderBothImages ()
 
- Protected Member Functions inherited from RenderingCore
void updateScreenSize ()
 
void draw3D ()
 
void drawHUD ()
 
void drawPostFx ()
 

Protected Attributes

video::ITexture * left = nullptr
 
video::ITexture * right = nullptr
 
video::ITexture * mask = nullptr
 
video::SMaterial mat
 
- Protected Attributes inherited from RenderingCoreStereo
scene::ICameraSceneNode * cam
 
core::matrix4 base_transform
 
float eye_offset
 
- Protected Attributes inherited from RenderingCore
v2u32 screensize
 
v2u32 virtual_size
 
video::SColor skycolor
 
bool show_hud
 
bool show_minimap
 
bool draw_wield_tool
 
bool draw_crosshair
 
IrrlichtDevice * device
 
video::IVideoDriver * driver
 
scene::ISceneManager * smgr
 
gui::IGUIEnvironment * guienv
 
Clientclient
 
Cameracamera
 
Minimapmapper
 
Hudhud
 

Constructor & Destructor Documentation

◆ RenderingCoreInterlaced()

RenderingCoreInterlaced::RenderingCoreInterlaced ( IrrlichtDevice *  _device,
Client _client,
Hud _hud 
)

References initMaterial().

+ Here is the call graph for this function:

Member Function Documentation

◆ clearTextures()

void RenderingCoreInterlaced::clearTextures ( )
overrideprotectedvirtual

Reimplemented from RenderingCore.

References RenderingCore::driver, left, mask, and right.

◆ drawAll()

void RenderingCoreInterlaced::drawAll ( )
overridevirtual

Implements RenderingCore.

References RenderingCore::drawHUD(), merge(), and RenderingCoreStereo::renderBothImages().

+ Here is the call graph for this function:

◆ initMask()

void RenderingCoreInterlaced::initMask ( )
protected

References mask, and RenderingCore::screensize.

Referenced by initTextures().

+ Here is the caller graph for this function:

◆ initMaterial()

void RenderingCoreInterlaced::initMaterial ( )
protected

References IShaderSource::getShader(), IShaderSource::getShaderInfo(), mat, ShaderInfo::material, and TILE_MATERIAL_BASIC.

Referenced by RenderingCoreInterlaced().

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

◆ initTextures()

void RenderingCoreInterlaced::initTextures ( )
overrideprotectedvirtual

Reimplemented from RenderingCore.

References RenderingCore::driver, initMask(), left, mask, mat, right, and RenderingCore::screensize.

+ Here is the call graph for this function:

◆ merge()

void RenderingCoreInterlaced::merge ( )
protected

References RenderingCore::driver, and mat.

Referenced by drawAll().

+ Here is the caller graph for this function:

◆ resetEye()

void RenderingCoreInterlaced::resetEye ( )
overrideprotectedvirtual

Reimplemented from RenderingCoreStereo.

References RenderingCore::driver, RenderingCoreStereo::resetEye(), and RenderingCore::skycolor.

+ Here is the call graph for this function:

◆ useEye()

void RenderingCoreInterlaced::useEye ( bool  right)
overrideprotectedvirtual

Reimplemented from RenderingCoreStereo.

References RenderingCore::driver, left, right, RenderingCore::skycolor, and RenderingCoreStereo::useEye().

+ Here is the call graph for this function:

Member Data Documentation

◆ left

video::ITexture* RenderingCoreInterlaced::left = nullptr
protected

Referenced by clearTextures(), initTextures(), and useEye().

◆ mask

video::ITexture* RenderingCoreInterlaced::mask = nullptr
protected

◆ mat

video::SMaterial RenderingCoreInterlaced::mat
protected

Referenced by initMaterial(), initTextures(), and merge().

◆ right

video::ITexture* RenderingCoreInterlaced::right = nullptr
protected

Referenced by clearTextures(), initTextures(), and useEye().


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