diff options
| author | azhirnov <zh1dron@gmail.com> | 2020-10-17 17:03:38 +0000 |
|---|---|---|
| committer | azhirnov <zh1dron@gmail.com> | 2020-10-17 17:03:38 +0000 |
| commit | 5b479de14d5893f6f27b15e7ce9c1740f6bcafe8 (patch) | |
| tree | 9075d3810d8ed5bdb6ca5a9b27d54e56435023dd /Graphics/GraphicsEngineMetal | |
| parent | Fixed compilation, some fixes after review (diff) | |
| parent | All backends: added resource dimension validation when setting shader variables (diff) | |
| download | DiligentCore-5b479de14d5893f6f27b15e7ce9c1740f6bcafe8.tar.gz DiligentCore-5b479de14d5893f6f27b15e7ce9c1740f6bcafe8.zip | |
Merge branch 'master' into pso_refactoring
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
| -rw-r--r-- | Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h | 1 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineMetal/interface/SamplerMtl.h | 1 |
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 |
