summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
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