ezEngine  Milestone 7
ezGALSwapChainDX11 Class Reference
Inheritance diagram for ezGALSwapChainDX11:

Public Member Functions

EZ_FORCE_INLINE IDXGISwapChain * GetDXSwapChain () const
 
- Public Member Functions inherited from ezGALSwapChain
ezGALTextureHandle GetBackBufferTexture () const
 Returns a handle to the back buffer texture. More...
 
ezGALRenderTargetViewHandle GetBackBufferRenderTargetView () const
 Returns a handle to the render target view which can be bound to render to this swap chain.
 
ezGALTextureHandle GetDepthStencilBufferTexture () const
 Returns a handle to the swap chain's depth buffer texture. More...
 
ezGALRenderTargetViewHandle GetDepthStencilTargetView () const
 Returns a handle to the swap chain's depth stencil view. More...
 
- Public Member Functions inherited from ezGALObjectBase< ezGALSwapChainCreationDescription >
EZ_FORCE_INLINE ezGALObjectBase (const ezGALSwapChainCreationDescription &Description)
 
EZ_FORCE_INLINE const
ezGALSwapChainCreationDescription
GetDescription () const
 
- Public Member Functions inherited from ezRefCounted
 ezRefCounted ()
 Constructor.
 
 ezRefCounted (const ezRefCounted &rhs)
 
void operator= (const ezRefCounted &rhs)
 
void AddRef ()
 Increments the reference counter.
 
void ReleaseRef ()
 Decrements the reference counter.
 
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

 ezGALSwapChainDX11 (const ezGALSwapChainCreationDescription &Description)
 
virtual ezResult InitPlatform (ezGALDevice *pDevice) override
 
virtual ezResult DeInitPlatform (ezGALDevice *pDevice) override
 
- Protected Member Functions inherited from ezGALSwapChain
 ezGALSwapChain (const ezGALSwapChainCreationDescription &Description)
 

Protected Attributes

IDXGISwapChain * m_pDXSwapChain
 
- Protected Attributes inherited from ezGALSwapChain
ezGALTextureHandle m_hBackBufferTexture
 
ezGALRenderTargetViewHandle m_hBackBufferRTV
 
ezGALTextureHandle m_hDepthStencilBufferTexture
 
ezGALRenderTargetViewHandle m_hBackBufferDSV
 
- Protected Attributes inherited from ezGALObjectBase< ezGALSwapChainCreationDescription >
const
ezGALSwapChainCreationDescription 
m_Description
 

Friends

class ezGALDeviceDX11
 
class ezMemoryUtils
 

Member Function Documentation

ezResult ezGALSwapChainDX11::InitPlatform ( ezGALDevice pDevice)
overrideprotectedvirtual
Todo:
Get from MSAA value of the m_Description
Todo:
The mode switch needs to be handled (ResizeBuffers + communication with engine)
Todo:
Get from enumeration of available modes
Todo:
(Find via format table)

Implements ezGALSwapChain.


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