Go to the documentation of this file.
50 template <
class BaseInterface>
99 if (NewWidth != 0 && NewHeight != 0 &&
Base interface for a reference counter object that stores the number of strong and weak references an...
Definition: ReferenceCounters.h:44
SURFACE_TRANSFORM m_DesiredPreTransform
Desired surface pre-transformation.
Definition: SwapChainBase.hpp:125
Uint32 Width
The swap chain width. Default value is 0.
Definition: GraphicsTypes.h:1350
Implementation of weak pointers.
Definition: RefCntAutoPtr.hpp:40
ObjectBase< BaseInterface > TObjectBase
Definition: SwapChainBase.hpp:54
RefCntWeakPtr< IDeviceContext > m_wpDeviceContext
Weak references to the immediate device context. The context holds the strong reference to the swap c...
Definition: SwapChainBase.hpp:119
Template class implementing base functionality for an object.
Definition: ObjectBase.hpp:66
~SwapChainBase()
Definition: SwapChainBase.hpp:81
int32_t Int32
32-bit signed integer
Definition: BasicTypes.h:46
@ SURFACE_TRANSFORM_OPTIMAL
Uset the most optimal surface transform.
Definition: GraphicsTypes.h:1318
Render device interface.
Definition: RenderDevice.h:75
SURFACE_TRANSFORM
The transform applied to the image content prior to presentation.
Definition: GraphicsTypes.h:1315
#define LOG_INFO_MESSAGE(...)
Definition: Errors.hpp:124
#define IMPLEMENT_QUERY_INTERFACE_IN_PLACE(InterfaceID, ParentClassName)
Definition: ObjectBase.hpp:59
SwapChainBase & operator=(const SwapChainBase &)=delete
n int Dummy
Definition: GenerateMipsCS_inc.h:25
Template class that implements reference counting.
Definition: RefCntAutoPtr.hpp:73
#define DILIGENT_CALL_TYPE
Definition: CommonDefinitions.h:45
Base implementation of the swap chain.
Definition: SwapChainBase.hpp:51
Swap chain description.
Definition: GraphicsTypes.h:1347
uint32_t Uint32
32-bit unsigned integer
Definition: BasicTypes.h:51
bool Resize(Uint32 NewWidth, Uint32 NewHeight, SURFACE_TRANSFORM NewPreTransform, Int32 Dummy=0)
Definition: SwapChainBase.hpp:97
RefCntAutoPtr< IRenderDevice > m_pRenderDevice
Strong reference to the render device.
Definition: SwapChainBase.hpp:115
virtual void SetMaximumFrameLatency(Uint32 MaxLatency) override
Definition: SwapChainBase.hpp:93
SwapChainDesc m_SwapChainDesc
Swap chain description.
Definition: SwapChainBase.hpp:122
Device context interface.
Definition: DeviceContext.h:1460
virtual const SwapChainDesc & GetDesc() const override final
Implementation of ISwapChain::GetDesc()
Definition: SwapChainBase.hpp:88
Uint32 Height
The swap chain height. Default value is 0.
Definition: GraphicsTypes.h:1353
SwapChainBase(IReferenceCounters *pRefCounters, IRenderDevice *pDevice, IDeviceContext *pDeviceContext, const SwapChainDesc &SCDesc)
Definition: SwapChainBase.hpp:60
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37