![]() |
Plasma Engine
2.0
|
Public Member Functions | |
virtual void | AcquireNextRenderTarget (plGALDevice *pDevice) override |
virtual void | PresentRenderTarget (plGALDevice *pDevice) override |
virtual plResult | UpdateSwapChain (plGALDevice *pDevice, plEnum< plGALPresentMode > newPresentMode) override |
![]() | |
const plGALWindowSwapChainCreationDescription & | GetWindowDescription () const |
![]() | |
const plGALRenderTargets & | GetRenderTargets () const |
plGALTextureHandle | GetBackBufferTexture () const |
plSizeU32 | GetCurrentSize () const |
![]() | |
plGALObject (const plGALSwapChainCreationDescription &description) | |
PL_ALWAYS_INLINE const plGALSwapChainCreationDescription & | GetDescription () const |
![]() | |
virtual | ~plRefCounted ()=default |
Adds a virtual destructor. | |
![]() | |
plRefCountingImpl ()=default | |
Constructor. | |
plRefCountingImpl (const plRefCountingImpl &rhs) | |
void | operator= (const plRefCountingImpl &rhs) |
plInt32 | AddRef () const |
Increments the reference counter. Returns the new reference count. | |
plInt32 | ReleaseRef () const |
Decrements the reference counter. Returns the new reference count. | |
bool | IsReferenced () const |
Returns true if the reference count is greater than 0, false otherwise. | |
plInt32 | GetRefCount () const |
Returns the current reference count. | |
Protected Member Functions | |
plGALSwapChainDX11 (const plGALWindowSwapChainCreationDescription &Description) | |
virtual plResult | InitPlatform (plGALDevice *pDevice) override |
plResult | CreateBackBufferInternal (plGALDeviceDX11 *pDXDevice) |
void | DestroyBackBufferInternal (plGALDeviceDX11 *pDXDevice) |
virtual plResult | DeInitPlatform (plGALDevice *pDevice) override |
![]() | |
plGALWindowSwapChain (const plGALWindowSwapChainCreationDescription &Description) | |
![]() | |
plGALSwapChain (const plRTTI *pSwapChainType) | |
Protected Attributes | |
IDXGISwapChain * | m_pDXSwapChain = nullptr |
plGALTextureHandle | m_hBackBufferTexture |
plEnum< plGALPresentMode > | m_CurrentPresentMode |
bool | m_bCanMakeDirectScreenshots = true |
plGALTextureHandle | m_hActualBackBufferTexture |
![]() | |
plGALWindowSwapChainCreationDescription | m_WindowDesc |
![]() | |
plGALRenderTargets | m_RenderTargets |
plSizeU32 | m_CurrentSize = {} |
![]() | |
const plGALSwapChainCreationDescription | m_Description |
Friends | |
class | plGALDeviceDX11 |
class | plMemoryUtils |
Additional Inherited Members | |
![]() | |
using | Functor = plDelegate<plGALSwapChainHandle(const plGALWindowSwapChainCreationDescription&)> |
![]() | |
static void | SetFactoryMethod (Functor factory) |
static plGALSwapChainHandle | Create (const plGALWindowSwapChainCreationDescription &desc) |
![]() | |
static Functor | s_Factory |
|
overridevirtual |
Implements plGALSwapChain.
|
overrideprotectedvirtual |
Implements plGALSwapChain.
|
overrideprotectedvirtual |
Implements plGALSwapChain.
|
overridevirtual |
Implements plGALSwapChain.
|
overridevirtual |
Implements plGALSwapChain.