Diligent Engine API Reference: Diligent::SwapChainGLImpl Class Reference

Diligent Engine API Reference

Public Member Functions | List of all members
Diligent::SwapChainGLImpl Class Reference

Implementation of the Diligent::ISwapChainGL interface. More...

Inheritance diagram for Diligent::SwapChainGLImpl:

## Public Member Functions
virtual void | Present ()
| Presents a rendered image to the user.
virtual void | Resize (Uint32 NewWidth, Uint32 NewHeight)
| Changes the swap chain's back buffer size. More...
Public Member Functions inherited from Diligent::SwapChainBase< ISwapChainGL >
| SwapChainBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, IDeviceContext *pDeviceContext, const SwapChainDesc &SCDesc)
virtual const SwapChainDesc & | GetDesc () const override final
| Implementation of ISwapChain::GetDesc()

## Additional Inherited Members
Protected Attributes inherited from Diligent::SwapChainBase< ISwapChainGL >
Diligent::RefCntAutoPtr< IRenderDevice > | m_pRenderDevice
| Strong reference to the render device.
Diligent::RefCntWeakPtr< IDeviceContext > | m_wpDeviceContext
| Weak references to the immediate device context. The context holds the strong reference to the swap chain.
SwapChainDesc | m_SwapChainDesc
| Swap chain description.

## Detailed Description

Implementation of the Diligent::ISwapChainGL interface.

## Member Function Documentation

## ◆ Resize()

void Diligent::SwapChainGLImpl::Resize | ( | Uint32 | NewWidth,
|  | Uint32 | NewHeight
| ) |  |
| 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

Implements Diligent::ISwapChain.