Plasma Engine  2.0
Loading...
Searching...
No Matches
OpaqueForwardRenderPass.h
1#pragma once
2
3#include <RendererCore/Pipeline/Passes/ForwardRenderPass.h>
4
6class PL_RENDERERCORE_DLL plOpaqueForwardRenderPass : public plForwardRenderPass
7{
8 PL_ADD_DYNAMIC_REFLECTION(plOpaqueForwardRenderPass, plForwardRenderPass);
9
10public:
11 plOpaqueForwardRenderPass(const char* szName = "OpaqueForwardRenderPass");
13
15
16protected:
17 virtual void SetupResources(plGALCommandEncoder* pCommandEncoder, const plRenderViewContext& renderViewContext, const plArrayPtr<plRenderPipelinePassConnection* const> inputs, const plArrayPtr<plRenderPipelinePassConnection* const> outputs) override;
18 virtual void SetupPermutationVars(const plRenderViewContext& renderViewContext) override;
19
20 virtual void RenderObjects(const plRenderViewContext& renderViewContext) override;
21
23 // plRenderPipelineNodeOutputPin m_PinNormal;
24 // plRenderPipelineNodeOutputPin m_PinSpecularColorRoughness;
25
26 bool m_bWriteDepth = true;
27
28 plTexture2DResourceHandle m_hWhiteTexture;
29};
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
A standard forward render pass that renders into the color target.
Definition ForwardRenderPass.h:23
virtual bool GetRenderTargetDescriptions(const plView &view, const plArrayPtr< plGALTextureCreationDescription *const > inputs, plArrayPtr< plGALTextureCreationDescription > outputs) override
For a given input pin configuration, provide the output configuration of this node....
Definition ForwardRenderPass.cpp:44
Definition CommandEncoder.h:11
A forward render pass that renders all opaque objects into the color target.
Definition OpaqueForwardRenderPass.h:7
Encapsulates a view on the given world through the given camera and rendered with the specified Rende...
Definition View.h:21
Definition RenderPipelineNode.h:44
Definition Declarations.h:51