Diligent Engine API Reference
|
Base implementation of the swap chain. More...
Public Member Functions | |
SwapChainBase (SwapChainAllocator &Allocator, 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). |
SwapChainAllocator | - type of the allocator that is used to allocate memory for the swap chain object instance |
|
inline |
Allocator | - allocator that was used to allocate memory for this instance of the swap chain object |
pDevice | - pointer to the device. |
pDeviceContext | - pointer to the device context. |
SCDesc | - swap chain description |