Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
PipelineContext Struct Reference

#include <pipeline.h>

+ Collaboration diagram for PipelineContext:

Public Member Functions

 PipelineContext (IrrlichtDevice *_device, Client *_client, Hud *_hud, ShadowRenderer *_shadow_renderer, video::SColor _color, v2u32 _target_size)
 

Public Attributes

IrrlichtDevice * device
 
Clientclient
 
Hudhud
 
ShadowRenderershadow_renderer
 
video::SColor clear_color
 
v2u32 target_size
 
bool show_hud {true}
 
bool draw_wield_tool {true}
 
bool draw_crosshair {true}
 

Constructor & Destructor Documentation

◆ PipelineContext()

PipelineContext::PipelineContext ( IrrlichtDevice * _device,
Client * _client,
Hud * _hud,
ShadowRenderer * _shadow_renderer,
video::SColor _color,
v2u32 _target_size )
inline

Member Data Documentation

◆ clear_color

video::SColor PipelineContext::clear_color

◆ client

◆ device

◆ draw_crosshair

bool PipelineContext::draw_crosshair {true}

◆ draw_wield_tool

bool PipelineContext::draw_wield_tool {true}

◆ hud

Hud* PipelineContext::hud

Referenced by Draw3D::run(), and DrawHUD::run().

◆ shadow_renderer

ShadowRenderer* PipelineContext::shadow_renderer

◆ show_hud

bool PipelineContext::show_hud {true}

◆ target_size

v2u32 PipelineContext::target_size

The documentation for this struct was generated from the following file: