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

#include <slang-gfx.h>

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

struct  DescBase
 Base class for Descs 更多...
 

Public 类型

enum class  Type {
  Unknown , Buffer , Texture1D , Texture2D ,
  Texture3D , TextureCube , _Count
}
 

Public 成员函数

virtual SLANG_NO_THROW Type SLANG_MCALL getType ()=0
 
virtual SLANG_NO_THROW Result SLANG_MCALL getNativeResourceHandle (InteropHandle *outHandle)=0
 
virtual SLANG_NO_THROW Result SLANG_MCALL getSharedHandle (InteropHandle *outHandle)=0
 
virtual SLANG_NO_THROW Result SLANG_MCALL setDebugName (const char *name)=0
 
virtual SLANG_NO_THROW const char *SLANG_MCALL getDebugName ()=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::IResource::Type
strong

The type of resource. NOTE! The order needs to be such that all texture types are at or after Texture1D (otherwise isTexture won't work correctly)

枚举值
Unknown 

Unknown

Buffer 

A buffer (like a constant/index/vertex buffer)

Texture1D 

A 1d texture

Texture2D 

A 2d texture

Texture3D 

A 3d texture

TextureCube 

A cubemap consists of 6 Texture2D like faces

_Count 

成员函数说明

◆ getDebugName()

virtual SLANG_NO_THROW const char *SLANG_MCALL gfx::IResource::getDebugName ( )
pure virtual

◆ getNativeResourceHandle()

virtual SLANG_NO_THROW Result SLANG_MCALL gfx::IResource::getNativeResourceHandle ( InteropHandle * outHandle)
pure virtual

◆ getSharedHandle()

virtual SLANG_NO_THROW Result SLANG_MCALL gfx::IResource::getSharedHandle ( InteropHandle * outHandle)
pure virtual

◆ getType()

virtual SLANG_NO_THROW Type SLANG_MCALL gfx::IResource::getType ( )
pure virtual

◆ setDebugName()

virtual SLANG_NO_THROW Result SLANG_MCALL gfx::IResource::setDebugName ( const char * name)
pure virtual

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