slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
| Public 类型 | Public 成员函数 | 所有成员列表
gfx::IResourceView类 参考abstract

#include <slang-gfx.h>

类 gfx::IResourceView 继承关系图:
Inheritance graph
[图例]
gfx::IResourceView 的协作图:
Collaboration graph
[图例]

struct  Desc
 
struct  RenderTargetDesc
 

Public 类型

enum class  Type {
  Unknown , RenderTarget , DepthStencil , ShaderResource ,
  UnorderedAccess , AccelerationStructure , CountOf_
}
 

Public 成员函数

virtual SLANG_NO_THROW Desc *SLANG_MCALL getViewDesc ()=0
 
virtual SLANG_NO_THROW Result SLANG_MCALL getNativeHandle (InteropHandle *outNativeHandle)=0
 
- Public 成员函数 继承自 ISlangUnknown
virtual SLANG_NO_THROW SlangResult SLANG_MCALL queryInterface (SlangUUID const &uuid, void **outObject)=0
 
virtual SLANG_NO_THROW uint32_t SLANG_MCALL addRef ()=0
 
virtual SLANG_NO_THROW uint32_t SLANG_MCALL release ()=0
 
 SLANG_COM_INTERFACE (0x00000000, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}) virtual SLANG_NO_THROW SlangResult SLANG_MCALL queryInterface(SlangUUID const &uuid
 
virtual SLANG_NO_THROW uint32_t SLANG_MCALL addRef ()=0
 
virtual SLANG_NO_THROW uint32_t SLANG_MCALL release ()=0
 
SlangResult QueryInterface (struct _GUID const &uuid, void **outObject)
 
uint32_t AddRef ()
 
uint32_t Release ()
 

额外继承的成员函数

- Public 属性 继承自 ISlangUnknown
void ** outObject = 0
 

成员枚举类型说明

◆ Type

enum class gfx::IResourceView::Type
strong
枚举值
Unknown 
RenderTarget 
DepthStencil 
ShaderResource 
UnorderedAccess 
AccelerationStructure 
CountOf_ 

成员函数说明

◆ getNativeHandle()

virtual SLANG_NO_THROW Result SLANG_MCALL gfx::IResourceView::getNativeHandle ( InteropHandle * outNativeHandle)
pure virtual

Returns a native API handle representing this resource view object. When using D3D12, this will be a D3D12_CPU_DESCRIPTOR_HANDLE or a buffer device address depending on the type of the resource view. When using Vulkan, this will be a VkImageView, VkBufferView, VkAccelerationStructure or a VkBuffer depending on the type of the resource view.

◆ getViewDesc()

virtual SLANG_NO_THROW Desc *SLANG_MCALL gfx::IResourceView::getViewDesc ( )
pure virtual

该类的文档由以下文件生成: