#include <sidebyside.h>
Public Member Functions | |
DrawImageStep (u8 texture_index, v2f offset) | |
void | setRenderSource (RenderSource *_source) override |
Assigns render source to this step. | |
void | setRenderTarget (RenderTarget *_target) override |
Assigned render target to this step. | |
void | reset (PipelineContext &context) override |
void | run (PipelineContext &context) override |
Runs the step. | |
Public Member Functions inherited from RenderPipelineObject | |
virtual | ~RenderPipelineObject ()=default |
Private Attributes | |
u8 | texture_index |
v2f | offset |
RenderSource * | source |
RenderTarget * | target |
DrawImageStep::DrawImageStep | ( | u8 | texture_index, |
v2f | offset ) |
|
inlineoverridevirtual |
Reimplemented from RenderPipelineObject.
|
overridevirtual |
Runs the step.
This method is invoked by the pipeline.
Implements RenderStep.
References RenderTarget::activate(), PipelineContext::device, RenderSource::getTexture(), offset, source, target, and texture_index.
|
overridevirtual |
Assigns render source to this step.
source | source of rendering information |
Implements RenderStep.
References source.
Referenced by populateSideBySidePipeline().
|
overridevirtual |
Assigned render target to this step.
target | render target to send output to. |
Implements RenderStep.
References target.
|
private |
Referenced by run(), and setRenderSource().
|
private |
Referenced by run(), and setRenderTarget().
|
private |
Referenced by run().