Plasma Engine  2.0
Loading...
Searching...
No Matches
plGALSwapChain Class Referenceabstract
Inheritance diagram for plGALSwapChain:

Public Member Functions

const plGALRenderTargetsGetRenderTargets () const
 
plGALTextureHandle GetBackBufferTexture () const
 
plSizeU32 GetCurrentSize () const
 
virtual void AcquireNextRenderTarget (plGALDevice *pDevice)=0
 
virtual void PresentRenderTarget (plGALDevice *pDevice)=0
 
virtual plResult UpdateSwapChain (plGALDevice *pDevice, plEnum< plGALPresentMode > newPresentMode)=0
 
- 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

 plGALSwapChain (const plRTTI *pSwapChainType)
 
virtual plResult InitPlatform (plGALDevice *pDevice)=0
 
virtual plResult DeInitPlatform (plGALDevice *pDevice)=0
 

Protected Attributes

plGALRenderTargets m_RenderTargets
 
plSizeU32 m_CurrentSize = {}
 
- Protected Attributes inherited from plGALObject< plGALSwapChainCreationDescription >
const plGALSwapChainCreationDescription m_Description
 

Friends

class plGALDevice
 

Member Function Documentation

◆ InitPlatform()

virtual plResult plGALSwapChain::InitPlatform ( plGALDevice * pDevice)
protectedpure virtual

Implemented in plGALSwapChainDX11.


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