summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
authorazhirnov <zh1dron@gmail.com>2020-10-17 17:03:38 +0000
committerazhirnov <zh1dron@gmail.com>2020-10-17 17:03:38 +0000
commit5b479de14d5893f6f27b15e7ce9c1740f6bcafe8 (patch)
tree9075d3810d8ed5bdb6ca5a9b27d54e56435023dd /Graphics/GraphicsEngineMetal
parentFixed compilation, some fixes after review (diff)
parentAll backends: added resource dimension validation when setting shader variables (diff)
downloadDiligentCore-5b479de14d5893f6f27b15e7ce9c1740f6bcafe8.tar.gz
DiligentCore-5b479de14d5893f6f27b15e7ce9c1740f6bcafe8.zip
Merge branch 'master' into pso_refactoring
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
-rw-r--r--Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h1
-rw-r--r--Graphics/GraphicsEngineMetal/interface/SamplerMtl.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h b/Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h
index 97b36dbc..d5561b58 100644
--- a/Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h
+++ b/Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h
@@ -41,6 +41,7 @@ static const INTERFACE_ID IID_BufferViewMtl =
class IBufferViewMtl : public IBufferView
{
public:
+ virtual id<MTLTexture> GetMtlTextureView() const = 0;
};
} // namespace Diligent
diff --git a/Graphics/GraphicsEngineMetal/interface/SamplerMtl.h b/Graphics/GraphicsEngineMetal/interface/SamplerMtl.h
index 51057dad..a8290e07 100644
--- a/Graphics/GraphicsEngineMetal/interface/SamplerMtl.h
+++ b/Graphics/GraphicsEngineMetal/interface/SamplerMtl.h
@@ -41,6 +41,7 @@ static const INTERFACE_ID IID_SamplerMtl =
class ISamplerMtl : public ISampler
{
public:
+ virtual id<MTLSamplerState> GetMtlSampler() = 0;
};
} // namespace Diligent