yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
f65d756bf
master
1// debug-texture.h 2#pragma once 3#include "debug-base.h" 4 5namespace gfx 6{ 7using namespace Slang ; 8 9namespace debug 10{ 11 12class DebugTextureResource :public DebugObject < ITextureResource > 13{ 14public : 15SLANG_COM_OBJECT_IUNKNOWN_ALL ; 16 17public : 18ITextureResource * getInterface (const Slang ::Guid & guid ); 19virtual SLANG_NO_THROW Type SLANG_MCALL getType ()override ; 20virtual SLANG_NO_THROW Desc * SLANG_MCALL getDesc () override; 21virtual SLANG_NO_THROW Result SLANG_MCALL 22getNativeResourceHandle ( InteropHandle * outHandle) override; 23virtual SLANG_NO_THROW Result SLANG_MCALL getSharedHandle ( InteropHandle * outHandle) override; 24 25virtual SLANG_NO_THROW Result SLANG_MCALL setDebugName ( const char * name) override; 26virtual SLANG_NO_THROW const char * SLANG_MCALL getDebugName () override; 27}; 28 29} // namespace debug 30} // namespace gfx