![]() |
Plasma Engine
2.0
|
Public Types | |
using | Functor = plDelegate<plGALSwapChainHandle(plXRInterface*)> |
Public Member Functions | |
plGALXRSwapChain (plXRInterface *pXrInterface) | |
virtual plResult | UpdateSwapChain (plGALDevice *pDevice, plEnum< plGALPresentMode > newPresentMode) override |
![]() | |
const plGALRenderTargets & | GetRenderTargets () const |
plGALTextureHandle | GetBackBufferTexture () const |
plSizeU32 | GetCurrentSize () const |
virtual void | AcquireNextRenderTarget (plGALDevice *pDevice)=0 |
virtual void | PresentRenderTarget (plGALDevice *pDevice)=0 |
![]() | |
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. | |
Static Public Member Functions | |
static void | SetFactoryMethod (Functor factory) |
static plGALSwapChainHandle | Create (plXRInterface *pXrInterface) |
Protected Attributes | |
plXRInterface * | m_pXrInterface = nullptr |
![]() | |
plGALRenderTargets | m_RenderTargets |
plSizeU32 | m_CurrentSize = {} |
![]() | |
const plGALSwapChainCreationDescription | m_Description |
Static Protected Attributes | |
static Functor | s_Factory |
Additional Inherited Members | |
![]() | |
plGALSwapChain (const plRTTI *pSwapChainType) | |
virtual plResult | InitPlatform (plGALDevice *pDevice)=0 |
virtual plResult | DeInitPlatform (plGALDevice *pDevice)=0 |
|
overridevirtual |
Implements plGALSwapChain.