Skip to content

Commit

Permalink
feat: add descriptor
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Pollind <[email protected]>
  • Loading branch information
pollend committed Sep 5, 2024
1 parent 06662d0 commit 69abd41
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
26 changes: 26 additions & 0 deletions Source/Metal/DescriptorMTL.h
Original file line number Diff line number Diff line change
@@ -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
Empty file added Source/Metal/DescriptorMTL.mm
Empty file.
1 change: 0 additions & 1 deletion Source/Metal/DeviceMTL.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 69abd41

Please sign in to comment.