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/GraphicsEngineMetal | |
| 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/GraphicsEngineMetal')
| -rw-r--r-- | Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h | 6 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm | 15 |
2 files changed, 21 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h b/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h index be12a4cd..93532df9 100644 --- a/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h +++ b/Graphics/GraphicsEngineMetal/include/DeviceContextMtlImpl.h @@ -92,6 +92,12 @@ public: ITextureView* pDepthStencil, RESOURCE_STATE_TRANSITION_MODE StateTransitionMode) override final; + virtual void BeginRenderPass(const BeginRenderPassAttribs& Attribs) override final; + + virtual void NextSubpass() override final; + + virtual void EndRenderPass() override final; + virtual void Draw(const DrawAttribs& Attribs) override final; virtual void DrawIndexed(const DrawIndexedAttribs& Attribs) override final; virtual void DrawIndirect(const DrawIndirectAttribs& Attribs, IBuffer* pAttribsBuffer) override final; diff --git a/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm index 63fba7c3..e2a1362d 100644 --- a/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm +++ b/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm @@ -371,6 +371,21 @@ namespace Diligent } } + void DeviceContextMtlImpl::BeginRenderPass(const BeginRenderPassAttribs& Attribs) + { + LOG_ERROR_MESSAGE("DeviceContextMtlImpl::BeginRenderPass() is not implemented"); + } + + void DeviceContextMtlImpl::NextSubpass() + { + LOG_ERROR_MESSAGE("DeviceContextMtlImpl::NextSubpass() is not implemented"); + } + + void DeviceContextMtlImpl::EndRenderPass() + { + LOG_ERROR_MESSAGE("DeviceContextMtlImpl::EndRenderPass() is not implemented"); + } + void DeviceContextMtlImpl::FinishCommandList(ICommandList **ppCommandList) { LOG_ERROR_MESSAGE("DeviceContextMtlImpl::FinishCommandList() is not implemented"); |
