Plasma Engine  2.0
Loading...
Searching...
No Matches
plGALOpenXRSwapChain Class Reference
Inheritance diagram for plGALOpenXRSwapChain:

Public Member Functions

plSizeU32 GetRenderTargetSize () const
 
XrSwapchain GetColorSwapchain () const
 
XrSwapchain GetDepthSwapchain () const
 
virtual void AcquireNextRenderTarget (plGALDevice *pDevice) override
 
virtual void PresentRenderTarget (plGALDevice *pDevice) override
 
void PresentRenderTarget () const
 
- Public Member Functions inherited from plGALXRSwapChain
 plGALXRSwapChain (plXRInterface *pXrInterface)
 
virtual plResult UpdateSwapChain (plGALDevice *pDevice, plEnum< plGALPresentMode > newPresentMode) override
 
- Public Member Functions inherited from plGALSwapChain
const plGALRenderTargetsGetRenderTargets () const
 
plGALTextureHandle GetBackBufferTexture () const
 
plSizeU32 GetCurrentSize () const
 
- Public Member Functions inherited from plGALObject< plGALSwapChainCreationDescription >
 plGALObject (const plGALSwapChainCreationDescription &description)
 
PL_ALWAYS_INLINE const plGALSwapChainCreationDescriptionGetDescription () const
 
- Public Member Functions inherited from plRefCounted
virtual ~plRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from plRefCountingImpl
 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

virtual plResult InitPlatform (plGALDevice *pDevice) override
 
virtual plResult DeInitPlatform (plGALDevice *pDevice) override
 
- Protected Member Functions inherited from plGALSwapChain
 plGALSwapChain (const plRTTI *pSwapChainType)
 

Friends

class plOpenXR
 

Additional Inherited Members

- Public Types inherited from plGALXRSwapChain
using Functor = plDelegate<plGALSwapChainHandle(plXRInterface*)>
 
- Static Public Member Functions inherited from plGALXRSwapChain
static void SetFactoryMethod (Functor factory)
 
static plGALSwapChainHandle Create (plXRInterface *pXrInterface)
 
- Protected Attributes inherited from plGALXRSwapChain
plXRInterfacem_pXrInterface = nullptr
 
- Protected Attributes inherited from plGALSwapChain
plGALRenderTargets m_RenderTargets
 
plSizeU32 m_CurrentSize = {}
 
- Protected Attributes inherited from plGALObject< plGALSwapChainCreationDescription >
const plGALSwapChainCreationDescription m_Description
 
- Static Protected Attributes inherited from plGALXRSwapChain
static Functor s_Factory
 

Member Function Documentation

◆ AcquireNextRenderTarget()

void plGALOpenXRSwapChain::AcquireNextRenderTarget ( plGALDevice * pDevice)
overridevirtual

Implements plGALSwapChain.

◆ DeInitPlatform()

plResult plGALOpenXRSwapChain::DeInitPlatform ( plGALDevice * pDevice)
overrideprotectedvirtual

Implements plGALSwapChain.

◆ InitPlatform()

plResult plGALOpenXRSwapChain::InitPlatform ( plGALDevice * pDevice)
overrideprotectedvirtual

Implements plGALSwapChain.

◆ PresentRenderTarget()

void plGALOpenXRSwapChain::PresentRenderTarget ( plGALDevice * pDevice)
overridevirtual

Implements plGALSwapChain.


The documentation for this class was generated from the following files: