Diligent Engine API Reference
|
Implementation of the Diligent::ISwapChainGL interface. More...
Public Member Functions | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface) |
Queries the specific interface. More... | |
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, IMemoryAllocator > | |
SwapChainBase (IMemoryAllocator &Allocator, IRenderDevice *pDevice, IDeviceContext *pDeviceContext, const SwapChainDesc &SCDesc) | |
virtual const SwapChainDesc & | GetDesc () const override final |
Implementation of ISwapChain::GetDesc() | |
Public Member Functions inherited from Diligent::RefCountedObject< ISwapChainGL, IMemoryAllocator > | |
virtual IReferenceCounters * | GetReferenceCounters () const override final |
virtual Atomics::Long | AddRef () override |
virtual Atomics::Long | Release () override |
Additional Inherited Members | |
Protected Attributes inherited from Diligent::SwapChainBase< ISwapChainGL, IMemoryAllocator > | |
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. | |
Implementation of the Diligent::ISwapChainGL interface.
|
virtual |
Queries the specific interface.
[in] | IID | - Unique identifier of the requested interface. |
[out] | ppInterface | - Memory address where the pointer to the requested interface will be written. If the interface is not supported, null pointer will be returned. |
Reimplemented from Diligent::ObjectBase< ISwapChainGL, IMemoryAllocator >.
Changes the swap chain's back buffer size.
[in] | NewWidth | - New swap chain width, in pixels |
[in] | NewHeight | - New swap chain height, in pixels |
Implements Diligent::ISwapChain.