diff --git a/Source/Metal/DescriptorMTL.h b/Source/Metal/DescriptorMTL.h index e69de29b..0cce5fea 100644 --- a/Source/Metal/DescriptorMTL.h +++ b/Source/Metal/DescriptorMTL.h @@ -0,0 +1,26 @@ +// © 2021 NVIDIA Corporation + +#pragma once + +namespace nri { + +struct DeviceMTL; + + +struct DescriptorMTL { + + inline DescriptorMTL (DeviceMTL& device) + : m_Device(device) { + } + + inline Result Create(const Texture1DViewDesc& textureViewDesc) {} + inline Result Create(const Texture2DViewDesc& textureViewDesc){} + inline Result Create(const Texture3DViewDesc& textureViewDesc){} + inline Result Create(const SamplerDesc& samplerDesc){} + +private: + DeviceMTL& m_Device; + +}; + +} // namespace nri diff --git a/Source/Metal/DescriptorMTL.mm b/Source/Metal/DescriptorMTL.mm new file mode 100644 index 00000000..e69de29b diff --git a/Source/Metal/DeviceMTL.mm b/Source/Metal/DeviceMTL.mm index b2960f5b..81174bb2 100644 --- a/Source/Metal/DeviceMTL.mm +++ b/Source/Metal/DeviceMTL.mm @@ -10,7 +10,6 @@ //#include "CommandBufferMTL.h" #include "CommandQueueMTL.h" //#include "DescriptorPoolMTL.h" -#include "DescriptorSetMTL.h" #include "TextureMTL.h" #include "FenceMTL.h" #include "MemoryMTL.h"