diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-07-27 02:16:18 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-08-02 19:21:40 +0000 |
| commit | 8798aa2e94602372a61c362d5c3f288cc07388c9 (patch) | |
| tree | 9ef14b8e949cac5dd65d74ddb2b81ebdd43c7e43 /Graphics/GraphicsEngineD3D11 | |
| parent | Implemented SubpassDependencyDesc struct (diff) | |
| download | DiligentCore-8798aa2e94602372a61c362d5c3f288cc07388c9.tar.gz DiligentCore-8798aa2e94602372a61c362d5c3f288cc07388c9.zip | |
Added BeginRenderPass, NextSubpass, and EndRenderPass device context methods
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
| -rw-r--r-- | Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp | 9 | ||||
| -rwxr-xr-x | Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp | 16 |
2 files changed, 25 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp index f8db6f23..a9efa7ff 100644 --- a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp +++ b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp @@ -122,6 +122,15 @@ public: ITextureView* pDepthStencil, RESOURCE_STATE_TRANSITION_MODE StateTransitionMode) override final; + /// Implementation of IDeviceContext::BeginRenderPass() in Direct3D11 backend. + virtual void DILIGENT_CALL_TYPE BeginRenderPass(const BeginRenderPassAttribs& Attribs) override final; + + /// Implementation of IDeviceContext::NextSubpass() in Direct3D11 backend. + virtual void DILIGENT_CALL_TYPE NextSubpass() override final; + + /// Implementation of IDeviceContext::EndRenderPass() in Direct3D11 backend. + virtual void DILIGENT_CALL_TYPE EndRenderPass() override final; + /// Implementation of IDeviceContext::Draw() in Direct3D11 backend. virtual void DILIGENT_CALL_TYPE Draw(const DrawAttribs& Attribs) override final; /// Implementation of IDeviceContext::DrawIndexed() in Direct3D11 backend. diff --git a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp index 0ff2227d..48eb6498 100755 --- a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp +++ b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp @@ -1617,6 +1617,22 @@ void DeviceContextD3D11Impl::SetRenderTargets(Uint32 Num }
}
+void DeviceContextD3D11Impl::BeginRenderPass(const BeginRenderPassAttribs& Attribs)
+{
+ UNEXPECTED("Method not implemented");
+}
+
+void DeviceContextD3D11Impl::NextSubpass()
+{
+ UNEXPECTED("Method not implemented");
+}
+
+void DeviceContextD3D11Impl::EndRenderPass()
+{
+ UNEXPECTED("Method not implemented");
+}
+
+
template <typename TD3D11ResourceType, typename TSetD3D11ResMethodType>
void SetD3D11ResourcesHelper(ID3D11DeviceContext* pDeviceCtx,
TSetD3D11ResMethodType SetD3D11ResMethod,
|
