yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
f65d756bf
master
1// debug-resource-views.h 2#pragma once 3#include "debug-base.h" 4 5namespace gfx 6{ 7using namespace Slang ; 8 9namespace debug 10{ 11 12class DebugResourceView :public DebugObject < IResourceView > 13{ 14public : 15SLANG_COM_OBJECT_IUNKNOWN_ALL ; 16 17public : 18IResourceView * getInterface (const Slang ::Guid & guid ); 19virtual SLANG_NO_THROW Desc * SLANG_MCALL getViewDesc ()override ; 20virtual SLANG_NO_THROW Result SLANG_MCALL 21getNativeHandle (InteropHandle * outNativeHandle )override ; 22}; 23 24class DebugAccelerationStructure :public DebugObject < IAccelerationStructure > 25{ 26public : 27SLANG_COM_OBJECT_IUNKNOWN_ALL ; 28 29public : 30IAccelerationStructure * getInterface (const Slang ::Guid & guid ); 31virtual SLANG_NO_THROW DeviceAddress SLANG_MCALL getDeviceAddress ()override ; 32virtual SLANG_NO_THROW Result SLANG_MCALL 33getNativeHandle ( InteropHandle * outNativeHandle) override; 34virtual SLANG_NO_THROW Desc * SLANG_MCALL getViewDesc () override; 35}; 36 37} // namespace debug 38} // namespace gfx