29 #include "SwapChain.h" 30 #include "DeviceObjectBase.h" 42 template<
class BaseInterface>
67 IMPLEMENT_QUERY_INTERFACE_IN_PLACE( IID_SwapChain, TObjectBase )
76 bool Resize( Uint32 NewWidth, Uint32 NewHeight, Int32 Dummy = 0 )
78 if( NewWidth != 0 && NewHeight != 0 &&
Swap chain description.
Definition: GraphicsTypes.h:912
Render device interface.
Definition: RenderDevice.h:55
SwapChainBase(IReferenceCounters *pRefCounters, IRenderDevice *pDevice, IDeviceContext *pDeviceContext, const SwapChainDesc &SCDesc)
Definition: SwapChainBase.h:52
Template class implementing base functionality for an object.
Definition: ObjectBase.h:62
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34
Diligent::RefCntAutoPtr< IRenderDevice > m_pRenderDevice
Strong reference to the render device.
Definition: SwapChainBase.h:91
Base implementation of the swap chain.
Definition: SwapChainBase.h:43
virtual const SwapChainDesc & GetDesc() const override final
Implementation of ISwapChain::GetDesc()
Definition: SwapChainBase.h:70
Device context interface.
Definition: DeviceContext.h:443
Diligent::RefCntWeakPtr< IDeviceContext > m_wpDeviceContext
Weak references to the immediate device context. The context holds the strong reference to the swap c...
Definition: SwapChainBase.h:95
Implementation of weak pointers.
Definition: RefCntAutoPtr.h:38
SwapChainDesc m_SwapChainDesc
Swap chain description.
Definition: SwapChainBase.h:98
Template class that implements reference counting.
Definition: RefCntAutoPtr.h:71
Uint32 Height
The swap chain height. Default value is 0.
Definition: GraphicsTypes.h:918
Uint32 Width
The swap chain width. Default value is 0.
Definition: GraphicsTypes.h:915