Plasma Engine  2.0
Loading...
Searching...
No Matches
HistoryTargetPass.h
1#pragma once
2
3#include <RendererCore/Pipeline/Passes/HistorySourcePass.h>
4
6class PL_RENDERERCORE_DLL plHistoryTargetPass : public plRenderPipelinePass
7{
8 PL_ADD_DYNAMIC_REFLECTION(plHistoryTargetPass, plRenderPipelinePass);
9
10public:
11 plHistoryTargetPass(const char* szName = "HistoryTargetPass");
13
16 virtual void Execute(const plRenderViewContext& renderViewContext, const plArrayPtr<plRenderPipelinePassConnection* const> inputs, const plArrayPtr<plRenderPipelinePassConnection* const> outputs) override;
17 virtual plResult Serialize(plStreamWriter& inout_stream) const override;
18 virtual plResult Deserialize(plStreamReader& inout_stream) override;
19
20protected:
22 plString m_sSourcePassName = "HistorySourcePass";
23};
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
Definition RendererFoundationDLL.h:411
Allows to write data to be accessible in the next frame. See plHistorySourcePass for usage.
Definition HistoryTargetPass.h:7
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 plGALTextureHandle QueryTextureProvider(const plRenderPipelineNodePin *pPin, const plGALTextureCreationDescription &desc)
Definition RenderPipelinePass.h:52
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....
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 Descriptors.h:177
Definition RenderPipelineNode.h:58
Definition RenderPipelineNode.h:10
Definition Declarations.h:51
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54