Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::ISwapChainD3D11 Struct Referenceabstract

Exposes Direct3D11-specific functionality of a swap chain. More...

#include <SwapChainD3D11.h>

Inheritance diagram for Diligent::ISwapChainD3D11:
Diligent::ISwapChain Diligent.IObject

Public Member Functions

virtual struct ITextureViewD3D11 *DILIGENT_CALL_TYPE GetCurrentBackBufferRTV ()=0
 Returns render target view of the back buffer in the swap chain.
 
virtual struct ITextureViewD3D11 *DILIGENT_CALL_TYPE GetDepthBufferDSV ()=0
 Returns depth-stencil view of the depth buffer.
 
virtual IDXGISwapChain *DILIGENT_CALL_TYPE GetDXGISwapChain ()=0
 Returns a pointer to the IDXGISwapChain interface of the internal DXGI object.
 
- Public Member Functions inherited from Diligent::ISwapChain
virtual void DILIGENT_CALL_TYPE Present (Uint32 SyncInterval=1)=0
 Presents a rendered image to the user.
 
virtual const SwapChainDesc &DILIGENT_CALL_TYPE GetDesc () const =0
 Returns the swap chain description.
 
virtual void DILIGENT_CALL_TYPE Resize (Uint32 NewWidth, Uint32 NewHeight, SURFACE_TRANSFORM NewTransform=SURFACE_TRANSFORM_OPTIMAL)=0
 Changes the swap chain size.
 
virtual void DILIGENT_CALL_TYPE SetFullscreenMode (const DisplayModeAttribs &DisplayMode)=0
 Sets fullscreen mode (only supported on Win32 platform)
 
virtual void DILIGENT_CALL_TYPE SetWindowedMode ()=0
 Sets windowed mode (only supported on Win32 platform)
 
virtual void DILIGENT_CALL_TYPE SetMaximumFrameLatency (Uint32 MaxLatency)=0
 Sets the maximum number of frames that the swap chain is allowed to queue for rendering.
 
- Public Member Functions inherited from Diligent.IObject
virtual void DILIGENT_CALL_TYPE QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0
 Queries the specific interface.
 
virtual ReferenceCounterValueType DILIGENT_CALL_TYPE AddRef ()=0
 Increments the number of strong references by 1.
 
virtual ReferenceCounterValueType DILIGENT_CALL_TYPE Release ()=0
 
virtual IReferenceCounters *DILIGENT_CALL_TYPE GetReferenceCounters () const =0
 

Detailed Description

Exposes Direct3D11-specific functionality of a swap chain.

Member Function Documentation

◆ GetDXGISwapChain()

virtual IDXGISwapChain *DILIGENT_CALL_TYPE Diligent::ISwapChainD3D11::GetDXGISwapChain ( )
pure virtual

Returns a pointer to the IDXGISwapChain interface of the internal DXGI object.

The method does NOT increment the reference counter of the returned object, so Release() must not be called.