From 80d0d972308444d949eb1c363fb81864143c0762 Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 10 Aug 2020 18:45:28 -0700 Subject: Initial implementation of render passes in GL backend --- Graphics/GraphicsEngine/include/FramebufferBase.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/include/FramebufferBase.hpp b/Graphics/GraphicsEngine/include/FramebufferBase.hpp index 597639fc..fc008d73 100644 --- a/Graphics/GraphicsEngine/include/FramebufferBase.hpp +++ b/Graphics/GraphicsEngine/include/FramebufferBase.hpp @@ -63,7 +63,8 @@ public: RenderDeviceImplType* pDevice, const FramebufferDesc& Desc, bool bIsDeviceInternal = false) : - TDeviceObjectBase{pRefCounters, pDevice, Desc, bIsDeviceInternal} + TDeviceObjectBase{pRefCounters, pDevice, Desc, bIsDeviceInternal}, + m_pRenderPass{Desc.pRenderPass} { ValidateFramebufferDesc(Desc); @@ -127,6 +128,8 @@ public: IMPLEMENT_QUERY_INTERFACE_IN_PLACE(IID_Framebuffer, TDeviceObjectBase) private: + RefCntAutoPtr m_pRenderPass; + ITextureView** m_ppAttachments = nullptr; }; -- cgit v1.2.3