LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Rendering::Backends::DirectX12RenderPass::DirectX12RenderPassImpl Class Reference

Inherits LiteFX::Implement< DirectX12RenderPass >.

Public Types

using RenderPassContext = Tuple< Array< D3D12_RENDER_PASS_RENDER_TARGET_DESC >, Optional< D3D12_RENDER_PASS_DEPTH_STENCIL_DESC > >
 
- Public Types inherited from LiteFX::Implement< DirectX12RenderPass >
using interface_type = DirectX12RenderPass
 
using base = Implement< interface_type >
 

Public Member Functions

 DirectX12RenderPassImpl (DirectX12RenderPass *parent, const DirectX12Device &device, Span< RenderTarget > renderTargets, const MultiSamplingLevel &samples, Span< DirectX12InputAttachmentMapping > inputAttachments)
 
 DirectX12RenderPassImpl (DirectX12RenderPass *parent, const DirectX12Device &device)
 
void mapRenderTargets (Span< RenderTarget > renderTargets)
 
void mapInputAttachments (Span< DirectX12InputAttachmentMapping > inputAttachments)
 
void initRenderTargetViews (const UInt32 &backBuffer)
 
void initializeFrameBuffers (const UInt32 &commandBuffers)
 
- Public Member Functions inherited from LiteFX::Implement< DirectX12RenderPass >
 Implement (DirectX12RenderPass *parent)
 Initializes the implementation instance. More...
 
 Implement (Implement< DirectX12RenderPass > &&)=delete
 
 Implement (const Implement< DirectX12RenderPass > &)=delete
 
virtual ~Implement ()=default
 

Friends

class DirectX12RenderPassBuilder
 
class DirectX12RenderPass
 

Additional Inherited Members

- Protected Attributes inherited from LiteFX::Implement< DirectX12RenderPass >
DirectX12RenderPass * m_parent
 

Member Typedef Documentation

◆ RenderPassContext

using LiteFX::Rendering::Backends::DirectX12RenderPass::DirectX12RenderPassImpl::RenderPassContext = Tuple<Array<D3D12_RENDER_PASS_RENDER_TARGET_DESC>, Optional<D3D12_RENDER_PASS_DEPTH_STENCIL_DESC> >

Constructor & Destructor Documentation

◆ DirectX12RenderPassImpl() [1/2]

LiteFX::Rendering::Backends::DirectX12RenderPass::DirectX12RenderPassImpl::DirectX12RenderPassImpl ( DirectX12RenderPass parent,
const DirectX12Device device,
Span< RenderTarget renderTargets,
const MultiSamplingLevel &  samples,
Span< DirectX12InputAttachmentMapping inputAttachments 
)
inline

◆ DirectX12RenderPassImpl() [2/2]

LiteFX::Rendering::Backends::DirectX12RenderPass::DirectX12RenderPassImpl::DirectX12RenderPassImpl ( DirectX12RenderPass parent,
const DirectX12Device device 
)
inline

Member Function Documentation

◆ initializeFrameBuffers()

void LiteFX::Rendering::Backends::DirectX12RenderPass::DirectX12RenderPassImpl::initializeFrameBuffers ( const UInt32 commandBuffers)
inline

◆ initRenderTargetViews()

void LiteFX::Rendering::Backends::DirectX12RenderPass::DirectX12RenderPassImpl::initRenderTargetViews ( const UInt32 backBuffer)
inline

◆ mapInputAttachments()

void LiteFX::Rendering::Backends::DirectX12RenderPass::DirectX12RenderPassImpl::mapInputAttachments ( Span< DirectX12InputAttachmentMapping inputAttachments)
inline

◆ mapRenderTargets()

void LiteFX::Rendering::Backends::DirectX12RenderPass::DirectX12RenderPassImpl::mapRenderTargets ( Span< RenderTarget renderTargets)
inline

Friends And Related Function Documentation

◆ DirectX12RenderPass

friend class DirectX12RenderPass
friend

◆ DirectX12RenderPassBuilder

friend class DirectX12RenderPassBuilder
friend