LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Rendering::Backends::DirectX12Device::DirectX12DeviceImpl Class Reference

Inherits LiteFX::Implement< DirectX12Device >.

Public Member Functions

 DirectX12DeviceImpl (DirectX12Device *parent, const DirectX12GraphicsAdapter &adapter, UniquePtr< DirectX12Surface > &&surface, const DirectX12Backend &backend, const UInt32 &globalBufferHeapSize, const UInt32 &globalSamplerHeapSize)
 
 ~DirectX12DeviceImpl () noexcept
 
ComPtr< ID3D12Device5 > initialize ()
 
void createFactory ()
 
void createSwapChain (const Format &format, const Size2d &frameBufferSize, const UInt32 &frameBuffers)
 
void createQueues ()
 
void createBlitPipeline ()
 
Array< Format > getSurfaceFormats () const
 
- Public Member Functions inherited from LiteFX::Implement< DirectX12Device >
 Implement (DirectX12Device *parent)
 Initializes the implementation instance. More...
 
 Implement (Implement< DirectX12Device > &&)=delete
 
 Implement (const Implement< DirectX12Device > &)=delete
 
virtual ~Implement ()=default
 

Friends

class DirectX12Device
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ DirectX12DeviceImpl()

LiteFX::Rendering::Backends::DirectX12Device::DirectX12DeviceImpl::DirectX12DeviceImpl ( DirectX12Device parent,
const DirectX12GraphicsAdapter adapter,
UniquePtr< DirectX12Surface > &&  surface,
const DirectX12Backend backend,
const UInt32 globalBufferHeapSize,
const UInt32 globalSamplerHeapSize 
)
inline

◆ ~DirectX12DeviceImpl()

LiteFX::Rendering::Backends::DirectX12Device::DirectX12DeviceImpl::~DirectX12DeviceImpl ( )
inlinenoexcept

Member Function Documentation

◆ createBlitPipeline()

void LiteFX::Rendering::Backends::DirectX12Device::DirectX12DeviceImpl::createBlitPipeline ( )
inline

◆ createFactory()

void LiteFX::Rendering::Backends::DirectX12Device::DirectX12DeviceImpl::createFactory ( )
inline

◆ createQueues()

void LiteFX::Rendering::Backends::DirectX12Device::DirectX12DeviceImpl::createQueues ( )
inline

◆ createSwapChain()

void LiteFX::Rendering::Backends::DirectX12Device::DirectX12DeviceImpl::createSwapChain ( const Format &  format,
const Size2d frameBufferSize,
const UInt32 frameBuffers 
)
inline

◆ getSurfaceFormats()

Array< Format > LiteFX::Rendering::Backends::DirectX12Device::DirectX12DeviceImpl::getSurfaceFormats ( ) const
inline

◆ initialize()

ComPtr< ID3D12Device5 > LiteFX::Rendering::Backends::DirectX12Device::DirectX12DeviceImpl::initialize ( )
inline

Friends And Related Function Documentation

◆ DirectX12Device

friend class DirectX12Device
friend