diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-08-11 01:45:28 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-08-11 01:45:28 +0000 |
| commit | 80d0d972308444d949eb1c363fb81864143c0762 (patch) | |
| tree | d12cb2ad7589607e9a42370a319a276393670ce0 /Graphics/GraphicsEngine | |
| parent | D3D12 backend: disabled warnings about render target and depth stencil clear ... (diff) | |
| download | DiligentCore-80d0d972308444d949eb1c363fb81864143c0762.tar.gz DiligentCore-80d0d972308444d949eb1c363fb81864143c0762.zip | |
Initial implementation of render passes in GL backend
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/include/FramebufferBase.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
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<IRenderPass> m_pRenderPass; + ITextureView** m_ppAttachments = nullptr; }; |
