|
Diligent Engine API Reference
|
Base implementation of the swap chain. More...
Public Member Functions | |
| SwapChainBase (IReferenceCounters *pRefCounters, IRenderDevice *pDevice, IDeviceContext *pDeviceContext, const SwapChainDesc &SCDesc) | |
| virtual const SwapChainDesc & | GetDesc () const override final |
| Implementation of ISwapChain::GetDesc() | |
Protected Attributes | |
| 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. | |
Base implementation of the swap chain.
| BaseInterface | - base interface that this class will inheret (Diligent::ISwapChainGL, Diligent::ISwapChainD3D11, or Diligent::ISwapChainD3D12). |
|
inline |
| pRefCounters | - reference counters object that controls the lifetime of this swap chain. |
| pDevice | - pointer to the device. |
| pDeviceContext | - pointer to the device context. |
| SCDesc | - swap chain description |