yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
f65d756bf
master
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 : 18SLANG_COM_OBJECT_IUNKNOWN_ALL 19IRenderPassLayout * getInterface (const Guid & guid ); 20 21public : 22RefPtr < DeviceImpl > m_device ; 23NS ::SharedPtr < MTL ::RenderPassDescriptor > m_renderPassDesc ; 24 25Result init (DeviceImpl * device ,const IRenderPassLayout ::Desc & desc ); 26}; 27 28}// namespace metal 29}// namespace gfx