Diligent Engine API Reference
|
Interface to the swap chain object implemented in D3D12. More...
Public Member Functions | |
virtual IDXGISwapChain * | GetDXGISwapChain ()=0 |
Returns a pointer to the IDXGISwapChain interface of the internal DXGI object. More... | |
Public Member Functions inherited from Diligent::ISwapChain | |
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... | |
Public Member Functions inherited from Diligent::IObject | |
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0 |
Queries the specific interface. More... | |
virtual Atomics::Long | AddRef ()=0 |
Increments the number of strong references by 1. More... | |
virtual Atomics::Long | Release ()=0 |
Decrements the number of strong references by 1 and destroys the object when the counter reaches zero. More... | |
virtual IReferenceCounters * | GetReferenceCounters () const =0 |
Returns the pointer to IReferenceCounters interface of the associated reference counters object. The metod does NOT increment the number of strong references to the returned object. | |
Interface to the swap chain object implemented in D3D12.
|
pure virtual |
Returns a pointer to the IDXGISwapChain interface of the internal DXGI object.
The method does NOT call AddRef() on the returned interface, so Release() must not be called.
Implemented in Diligent::SwapChainD3D12Impl.