summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-01-26 06:31:42 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-01-26 06:31:42 +0000
commit6866e442b789df5c15693c2d38ae6abc740c5bd2 (patch)
tree883c4cc8d9fa394ba0cda3a850145662b7bf53a6 /Graphics/GraphicsEngineMetal
parentReworked IShaderResourceVariable::GetResourceDesc() method to be compatible w... (diff)
downloadDiligentCore-6866e442b789df5c15693c2d38ae6abc740c5bd2.tar.gz
DiligentCore-6866e442b789df5c15693c2d38ae6abc740c5bd2.zip
Reworked IShader::GetResource to be compatible with C; renamed the method to GetResourceDesc
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
-rw-r--r--Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h b/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h
index 2120b59b..245799e3 100644
--- a/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h
+++ b/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h
@@ -55,7 +55,7 @@ public:
return 0;
}
- virtual ShaderResourceDesc GetResource(Uint32 Index) const override final
+ virtual void GetResourceDesc(Uint32 Index, ShaderResourceDesc& ResourceDesc) const override final
{
LOG_ERROR_MESSAGE("ShaderMtlImpl::GetResource() is not implemented");
return ShaderResourceDesc{};