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

#include <slang-gfx.h>

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

struct  Desc
 

Public 成员函数

virtual SLANG_NO_THROW const Desc &SLANG_MCALL getDesc ()=0
 
virtual SLANG_NO_THROW Result SLANG_MCALL getImage (GfxIndex index, ITextureResource **outResource)=0
 Returns the back buffer image at index.
 
virtual SLANG_NO_THROW Result SLANG_MCALL present ()=0
 Present the next image in the swapchain.
 
virtual SLANG_NO_THROW int SLANG_MCALL acquireNextImage ()=0
 
virtual SLANG_NO_THROW Result SLANG_MCALL resize (GfxCount width, GfxCount height)=0
 
virtual SLANG_NO_THROW bool SLANG_MCALL isOccluded ()=0
 
virtual SLANG_NO_THROW Result SLANG_MCALL setFullScreenMode (bool mode)=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
 

成员函数说明

◆ acquireNextImage()

virtual SLANG_NO_THROW int SLANG_MCALL gfx::ISwapchain::acquireNextImage ( )
pure virtual

Returns the index of next back buffer image that will be presented in the next present call. If the swapchain is invalid/out-of-date, this method returns -1.

◆ getDesc()

virtual SLANG_NO_THROW const Desc &SLANG_MCALL gfx::ISwapchain::getDesc ( )
pure virtual

◆ getImage()

virtual SLANG_NO_THROW Result SLANG_MCALL gfx::ISwapchain::getImage ( GfxIndex index,
ITextureResource ** outResource )
pure virtual

Returns the back buffer image at index.

◆ isOccluded()

virtual SLANG_NO_THROW bool SLANG_MCALL gfx::ISwapchain::isOccluded ( )
pure virtual

◆ present()

virtual SLANG_NO_THROW Result SLANG_MCALL gfx::ISwapchain::present ( )
pure virtual

Present the next image in the swapchain.

◆ resize()

virtual SLANG_NO_THROW Result SLANG_MCALL gfx::ISwapchain::resize ( GfxCount width,
GfxCount height )
pure virtual

Resizes the back buffers of this swapchain. All render target views and framebuffers referencing the back buffer images must be freed before calling this method.

◆ setFullScreenMode()

virtual SLANG_NO_THROW Result SLANG_MCALL gfx::ISwapchain::setFullScreenMode ( bool mode)
pure virtual

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