Implements a pipeline step that renders the 3D scene. More...
#include <plain.h>
Inheritance diagram for Draw3D:
Collaboration diagram for Draw3D:Public Member Functions | |
| virtual void | setRenderSource (RenderSource *) override |
| Assigns render source to this step. | |
| virtual void | setRenderTarget (RenderTarget *target) override |
| Assigned render target to this step. | |
| virtual void | reset (PipelineContext &context) override |
| virtual void | run (PipelineContext &context) override |
| Draw3D pipeline step. | |
Public Member Functions inherited from RenderPipelineObject | |
| virtual | ~RenderPipelineObject ()=default |
Private Attributes | |
| RenderTarget * | m_target {nullptr} |
Implements a pipeline step that renders the 3D scene.
|
inlineoverridevirtual |
Reimplemented from RenderPipelineObject.
|
overridevirtual |
Draw3D pipeline step.
Implements RenderStep.
References RenderTarget::activate(), PipelineContext::device, Hud::drawBlockBounds(), Hud::drawSelectionMesh(), PipelineContext::hud, m_target, and PipelineContext::show_hud.
Here is the call graph for this function:
|
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.
References m_target.
|
private |
Referenced by run(), and setRenderTarget().