Plasma Engine  2.0
Loading...
Searching...
No Matches
SimpleRenderPass.h
1#pragma once
2
3#include <RendererCore/Pipeline/RenderPipelinePass.h>
4
10class PL_RENDERERCORE_DLL plSimpleRenderPass : public plRenderPipelinePass
11{
12 PL_ADD_DYNAMIC_REFLECTION(plSimpleRenderPass, plRenderPipelinePass);
13
14public:
15 plSimpleRenderPass(const char* szName = "SimpleRenderPass");
17
19 virtual void Execute(const plRenderViewContext& renderViewContext, const plArrayPtr<plRenderPipelinePassConnection* const> inputs, const plArrayPtr<plRenderPipelinePassConnection* const> outputs) override;
20 virtual plResult Serialize(plStreamWriter& inout_stream) const override;
21 virtual plResult Deserialize(plStreamReader& inout_stream) override;
22
23 void SetMessage(const char* szMessage);
24
25protected:
27 plRenderPipelineNodePassThroughPin m_PinDepthStencil;
28
29 plString m_sMessage;
30};
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
Definition RenderPipelinePass.h:26
virtual void Execute(const plRenderViewContext &renderViewContext, const plArrayPtr< plRenderPipelinePassConnection *const > inputs, const plArrayPtr< plRenderPipelinePassConnection *const > outputs)=0
Render into outputs. Both inputs and outputs are passed in with actual texture handles....
virtual bool GetRenderTargetDescriptions(const plView &view, const plArrayPtr< plGALTextureCreationDescription *const > inputs, plArrayPtr< plGALTextureCreationDescription > outputs)=0
For a given input pin configuration, provide the output configuration of this node....
A very basic render pass that renders into the color target.
Definition SimpleRenderPass.h:11
Interface for binary in (read) streams.
Definition Stream.h:22
Interface for binary out (write) streams.
Definition Stream.h:107
Encapsulates a view on the given world through the given camera and rendered with the specified Rende...
Definition View.h:21
Definition RenderPipelineNode.h:72
Definition Declarations.h:51
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54