Go to the documentation of this file.
51 const NativeWindow& Window);
68 auto CurrentBackBufferIndex =
m_pSwapChain->GetCurrentBackBufferIndex();
70 return m_pBackBufferRTV[CurrentBackBufferIndex];
78 void InitBuffersAndViews();
Base interface for a reference counter object that stores the number of strong and weak references an...
Definition: ReferenceCounters.h:44
SwapChainD3D12Impl(IReferenceCounters *pRefCounters, const SwapChainDesc &SwapChainDesc, const FullScreenModeDesc &FSDesc, class RenderDeviceD3D12Impl *pRenderDeviceD3D12, class DeviceContextD3D12Impl *pDeviceContextD3D12, const NativeWindow &Window)
Definition: SwapChainD3D12Impl.cpp:42
~SwapChainD3D12Impl()
Definition: SwapChainD3D12Impl.cpp:71
CComPtr< IDXGISwapChain3 > m_pSwapChain
Definition: SwapChainD3DBase.hpp:364
virtual IDXGISwapChain * GetDXGISwapChain() override final
Implementation of ISwapChainD3D12::GetDXGISwapChain().
Definition: SwapChainD3D12Impl.hpp:63
Swap chain implementation in Direct3D12 backend.
Definition: SwapChainD3D12Impl.hpp:41
virtual ITextureViewD3D12 * GetCurrentBackBufferRTV() override final
Implementation of ISwapChain::GetCurrentBackBufferRTV() in Direct3D12 backend.
Definition: SwapChainD3D12Impl.hpp:66
Definition: STDAllocator.hpp:53
SURFACE_TRANSFORM
The transform applied to the image content prior to presentation.
Definition: GraphicsTypes.h:1315
Render device implementation in Direct3D12 backend.
Definition: RenderDeviceD3D12Impl.hpp:70
Base implementation of a D3D swap chain.
Definition: SwapChainD3DBase.hpp:41
#define IMPLEMENT_QUERY_INTERFACE_IN_PLACE(InterfaceID, ParentClassName)
Definition: ObjectBase.hpp:59
Template class that implements reference counting.
Definition: RefCntAutoPtr.hpp:73
#define DILIGENT_CALL_TYPE
Definition: CommonDefinitions.h:45
Uint32 BufferCount
The number of buffers in the swap chain.
Definition: GraphicsTypes.h:1379
Exposes Direct3D12-specific functionality of a texture view object.
Definition: TextureViewD3D12.h:49
Swap chain description.
Definition: GraphicsTypes.h:1347
uint32_t Uint32
32-bit unsigned integer
Definition: BasicTypes.h:51
virtual ITextureViewD3D12 * GetDepthBufferDSV() override final
Implementation of ISwapChain::GetDepthBufferDSV() in Direct3D12 backend.
Definition: SwapChainD3D12Impl.hpp:74
SwapChainDesc m_SwapChainDesc
Swap chain description.
Definition: SwapChainBase.hpp:122
virtual void UpdateSwapChain(bool CreateNew) override final
Definition: SwapChainD3D12Impl.cpp:171
Device context implementation in Direct3D12 backend.
Definition: DeviceContextD3D12Impl.hpp:59
#define VERIFY_EXPR(...)
Definition: DebugUtilities.hpp:79
virtual void Present(Uint32 SyncInterval) override final
Implementation of ISwapChain::Present() in Direct3D12 backend.
Definition: SwapChainD3D12Impl.cpp:126
virtual void Resize(Uint32 NewWidth, Uint32 NewHeight, SURFACE_TRANSFORM NewPreTransform) override final
Implementation of ISwapChain::Resize() in Direct3D12 backend.
Definition: SwapChainD3D12Impl.cpp:240
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37
Full screen mode description.
Definition: GraphicsTypes.h:1425