blob: 94659a561ae1ee8bc4c52b637cf9c1e79ef2f9fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// metal-render-pass.h
#pragma once
#include "metal-base.h"
#include "metal-device.h"
namespace gfx
{
using namespace Slang;
namespace metal
{
class RenderPassLayoutImpl : public IRenderPassLayout, public ComObject
{
public:
SLANG_COM_OBJECT_IUNKNOWN_ALL
IRenderPassLayout* getInterface(const Guid& guid);
public:
RefPtr<DeviceImpl> m_device;
NS::SharedPtr<MTL::RenderPassDescriptor> m_renderPassDesc;
Result init(DeviceImpl* device, const IRenderPassLayout::Desc& desc);
};
} // namespace metal
} // namespace gfx
|