Diligent Engine API Reference: Diligent::ISwapChain Class Reference

Diligent Engine API Reference

Public Member Functions | List of all members
Diligent::ISwapChain Class Referenceabstract

Swap chain interface. More...

Inheritance diagram for Diligent::ISwapChain:

## Public Member Functions
virtual void | Present ()=0
| Presents a rendered image to the user.
virtual const SwapChainDesc & | GetDesc () const =0
| Returns the swap chain desctription.
virtual void | Resize (Uint32 NewWidth, Uint32 NewHeight)=0
| Changes the swap chain's back buffer size. More...

## Detailed Description

Swap chain interface.

The swap chain is created by a platform-dependent function

## Member Function Documentation

## ◆ Resize()

virtual void Diligent::ISwapChain::Resize | ( | Uint32 | NewWidth,
|  | Uint32 | NewHeight
| ) |  |
| pure virtual

Changes the swap chain's back buffer size.

Parameters

  [in] | NewWidth | - New swap chain width, in pixels
  [in] | NewHeight | - New swap chain height, in pixels

Implemented in Diligent::SwapChainD3D12Impl, Diligent::SwapChainD3D11Impl, and Diligent::SwapChainGLImpl.