Implements a pipeline step that renders the game HUD. More...
#include <plain.h>
Public Member Functions | |
virtual void | setRenderSource (RenderSource *) override |
Assigns render source to this step. | |
virtual void | setRenderTarget (RenderTarget *) override |
Assigned render target to this step. | |
virtual void | reset (PipelineContext &context) override |
virtual void | run (PipelineContext &context) override |
Runs the step. | |
Public Member Functions inherited from RenderPipelineObject | |
virtual | ~RenderPipelineObject ()=default |
Implements a pipeline step that renders the game HUD.
|
inlineoverridevirtual |
Reimplemented from RenderPipelineObject.
|
overridevirtual |
Runs the step.
This method is invoked by the pipeline.
Implements RenderStep.
References PipelineContext::client, PipelineContext::device, PipelineContext::draw_crosshair, Hud::drawCrosshair(), ShadowRenderer::drawDebug(), Hud::drawLuaElements(), Camera::drawNametags(), Client::getCamera(), Camera::getOffset(), PipelineContext::hud, Hud::resizeHotbar(), PipelineContext::shadow_renderer, and PipelineContext::show_hud.
|
inlineoverridevirtual |
Assigns render source to this step.
source | source of rendering information |
Implements RenderStep.
|
inlineoverridevirtual |
Assigned render target to this step.
target | render target to send output to. |
Implements RenderStep.