Exposes Vulkan-specific functionality of a swap chain. More...
#include <SwapChainVk.h>
Public Member Functions | |
virtual VkSurfaceKHR DILIGENT_CALL_TYPE | GetVkSurface ()=0 |
Returns a Vulkan handle to the internal surface object. | |
virtual VkSwapchainKHR DILIGENT_CALL_TYPE | GetVkSwapChain ()=0 |
Returns a Vulkan handle to the internal swap chain object. | |
![]() | |
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. | |
virtual ITextureView *DILIGENT_CALL_TYPE | GetCurrentBackBufferRTV ()=0 |
Returns render target view of the current back buffer in the swap chain. | |
virtual ITextureView *DILIGENT_CALL_TYPE | GetDepthBufferDSV ()=0 |
Returns depth-stencil view of the depth buffer. | |
![]() | |
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 |
Exposes Vulkan-specific functionality of a swap chain.