LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Rendering::Backends::DirectX12SwapChain::DirectX12SwapChainImpl Class Reference

Inherits LiteFX::Implement< DirectX12SwapChain >.

Public Member Functions

 DirectX12SwapChainImpl (DirectX12SwapChain *parent, const DirectX12Device &device)
 
ComPtr< IDXGISwapChain4 > initialize (const Format &format, const Size2d &frameBufferSize, const UInt32 &frameBuffers)
 
void reset (const Format &format, const Size2d &frameBufferSize, const UInt32 &frameBuffers)
 
UInt32 swapBackBuffer ()
 
- Public Member Functions inherited from LiteFX::Implement< DirectX12SwapChain >
 Implement (DirectX12SwapChain *parent)
 Initializes the implementation instance. More...
 
 Implement (Implement< DirectX12SwapChain > &&)=delete
 
 Implement (const Implement< DirectX12SwapChain > &)=delete
 
virtual ~Implement ()=default
 

Friends

class DirectX12SwapChain
 

Additional Inherited Members

- Public Types inherited from LiteFX::Implement< DirectX12SwapChain >
using interface_type = DirectX12SwapChain
 
using base = Implement< interface_type >
 
- Protected Attributes inherited from LiteFX::Implement< DirectX12SwapChain >
DirectX12SwapChain * m_parent
 

Constructor & Destructor Documentation

◆ DirectX12SwapChainImpl()

LiteFX::Rendering::Backends::DirectX12SwapChain::DirectX12SwapChainImpl::DirectX12SwapChainImpl ( DirectX12SwapChain parent,
const DirectX12Device device 
)
inline

Member Function Documentation

◆ initialize()

ComPtr< IDXGISwapChain4 > LiteFX::Rendering::Backends::DirectX12SwapChain::DirectX12SwapChainImpl::initialize ( const Format &  format,
const Size2d frameBufferSize,
const UInt32 frameBuffers 
)
inline

◆ reset()

void LiteFX::Rendering::Backends::DirectX12SwapChain::DirectX12SwapChainImpl::reset ( const Format &  format,
const Size2d frameBufferSize,
const UInt32 frameBuffers 
)
inline

◆ swapBackBuffer()

UInt32 LiteFX::Rendering::Backends::DirectX12SwapChain::DirectX12SwapChainImpl::swapBackBuffer ( )
inline

Friends And Related Function Documentation

◆ DirectX12SwapChain

friend class DirectX12SwapChain
friend