yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Ellie Hermaszewskaformatf65d756bf

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