ezEngine  Release 25.03
ezGALWindowSwapChain Class Reference
Inheritance diagram for ezGALWindowSwapChain:

Public Types

using Functor = ezDelegate< ezGALSwapChainHandle(const ezGALWindowSwapChainCreationDescription &)>
 

Public Member Functions

const ezGALWindowSwapChainCreationDescriptionGetWindowDescription () const
 
- Public Member Functions inherited from ezGALSwapChain
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.
 

Static Public Member Functions

static void SetFactoryMethod (Functor factory)
 
static ezGALSwapChainHandle Create (const ezGALWindowSwapChainCreationDescription &desc)
 

Protected Member Functions

 ezGALWindowSwapChain (const ezGALWindowSwapChainCreationDescription &Description)
 
- Protected Member Functions inherited from ezGALSwapChain
 ezGALSwapChain (const ezRTTI *pSwapChainType)
 
virtual ezResult InitPlatform (ezGALDevice *pDevice)=0
 
virtual ezResult DeInitPlatform (ezGALDevice *pDevice)=0
 

Protected Attributes

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

Static Protected Attributes

static Functor s_Factory
 

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