ezEngine  Release 25.03
ezGALSwapChain Class Referenceabstract
Inheritance diagram for ezGALSwapChain:

Public Member Functions

const ezGALRenderTargetsGetRenderTargets () const
 
ezGALTextureHandle GetBackBufferTexture () const
 
ezSizeU32 GetCurrentSize () const
 
virtual void AcquireNextRenderTarget (ezGALDevice *pDevice)=0
 
virtual void PresentRenderTarget (ezGALDevice *pDevice)=0
 
virtual ezResult UpdateSwapChain (ezGALDevice *pDevice, ezEnum< ezGALPresentMode > newPresentMode)=0
 
- Public Member Functions inherited from ezGALObject< ezGALSwapChainCreationDescription >
 ezGALObject (const ezGALSwapChainCreationDescription &description)
 
const EZ_ALWAYS_INLINE ezGALSwapChainCreationDescriptionGetDescription () const
 
- Public Member Functions inherited from ezRefCounted
virtual ~ezRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from ezRefCountingImpl
 ezRefCountingImpl ()=default
 Constructor.
 
 ezRefCountingImpl (const ezRefCountingImpl &rhs)
 
void operator= (const ezRefCountingImpl &rhs)
 
ezInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
 
ezInt32 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.
 
ezInt32 GetRefCount () const
 Returns the current reference count.
 

Protected Member Functions

 ezGALSwapChain (const ezRTTI *pSwapChainType)
 
virtual ezResult InitPlatform (ezGALDevice *pDevice)=0
 
virtual ezResult DeInitPlatform (ezGALDevice *pDevice)=0
 

Protected Attributes

ezGALRenderTargets m_RenderTargets
 
ezSizeU32 m_CurrentSize = {}
 
- Protected Attributes inherited from ezGALObject< ezGALSwapChainCreationDescription >
const ezGALSwapChainCreationDescription m_Description
 

Friends

class ezGALDevice
 

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