Skip to content

Commit 69abd41

Browse files
committed
feat: add descriptor
Signed-off-by: Michael Pollind <mpollind@gmail.com>
1 parent 06662d0 commit 69abd41

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

Source/Metal/DescriptorMTL.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// © 2021 NVIDIA Corporation
2+
3+
#pragma once
4+
5+
namespace nri {
6+
7+
struct DeviceMTL;
8+
9+
10+
struct DescriptorMTL {
11+
12+
inline DescriptorMTL (DeviceMTL& device)
13+
: m_Device(device) {
14+
}
15+
16+
inline Result Create(const Texture1DViewDesc& textureViewDesc) {}
17+
inline Result Create(const Texture2DViewDesc& textureViewDesc){}
18+
inline Result Create(const Texture3DViewDesc& textureViewDesc){}
19+
inline Result Create(const SamplerDesc& samplerDesc){}
20+
21+
private:
22+
DeviceMTL& m_Device;
23+
24+
};
25+
26+
} // namespace nri

Source/Metal/DescriptorMTL.mm

Whitespace-only changes.

Source/Metal/DeviceMTL.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
//#include "CommandBufferMTL.h"
1111
#include "CommandQueueMTL.h"
1212
//#include "DescriptorPoolMTL.h"
13-
#include "DescriptorSetMTL.h"
1413
#include "TextureMTL.h"
1514
#include "FenceMTL.h"
1615
#include "MemoryMTL.h"

0 commit comments

Comments
 (0)