LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Rendering::Backends::DirectX12InputAttachmentMapping Class Reference

Implements a IInputAttachmentMapping. More...

#include <dx12.hpp>

Inherits LiteFX::Rendering::IInputAttachmentMapping< DirectX12RenderPass >.

Classes

class  DirectX12InputAttachmentMappingImpl
 

Public Member Functions

 DirectX12InputAttachmentMapping () noexcept
 Creates a new DirectX 12 input attachment mapping. More...
 
 DirectX12InputAttachmentMapping (const DirectX12RenderPass &renderPass, const RenderTarget &renderTarget, const UInt32 &location)
 Creates a new DirectX 12 input attachment mapping. More...
 
 DirectX12InputAttachmentMapping (const DirectX12InputAttachmentMapping &) noexcept
 Copies another input attachment mapping. More...
 
 DirectX12InputAttachmentMapping (DirectX12InputAttachmentMapping &&) noexcept
 Takes over another input attachment mapping. More...
 
virtual ~DirectX12InputAttachmentMapping () noexcept
 
DirectX12InputAttachmentMappingoperator= (const DirectX12InputAttachmentMapping &) noexcept
 Copies another input attachment mapping. More...
 
DirectX12InputAttachmentMappingoperator= (DirectX12InputAttachmentMapping &&) noexcept
 Takes over another input attachment mapping. More...
 
virtual const DirectX12RenderPassinputAttachmentSource () const noexcept override
 Returns the source of the input attachment render target. More...
 
virtual const RenderTargetrenderTarget () const noexcept override
 Returns a reference of the render target that is mapped to the input attachment. More...
 
virtual const UInt32location () const noexcept override
 Returns the location of the input attachment, the render target will be bound to. More...
 
- Public Member Functions inherited from LiteFX::Rendering::IInputAttachmentMapping< DirectX12RenderPass >
virtual ~IInputAttachmentMapping () noexcept=default
 
virtual const input_attachment_mapping_source_typeinputAttachmentSource () const noexcept=0
 Returns the source of the input attachment render target. More...
 
virtual const RenderTargetrenderTarget () const noexcept=0
 Returns a reference of the render target that is mapped to the input attachment. More...
 
virtual const UInt32location () const noexcept=0
 Returns the location of the input attachment, the render target will be bound to. More...
 

Additional Inherited Members

- Public Types inherited from LiteFX::Rendering::IInputAttachmentMapping< DirectX12RenderPass >
using input_attachment_mapping_source_type = DirectX12RenderPass
 

Detailed Description

Implements a IInputAttachmentMapping.

See also
DirectX12RenderPass, DirectX12RenderPassBuilder

Constructor & Destructor Documentation

◆ DirectX12InputAttachmentMapping() [1/4]

DirectX12InputAttachmentMapping::DirectX12InputAttachmentMapping ( )
noexcept

Creates a new DirectX 12 input attachment mapping.

◆ DirectX12InputAttachmentMapping() [2/4]

DirectX12InputAttachmentMapping::DirectX12InputAttachmentMapping ( const DirectX12RenderPass renderPass,
const RenderTarget renderTarget,
const UInt32 location 
)

Creates a new DirectX 12 input attachment mapping.

Parameters
renderPassThe render pass to fetch the input attachment from.
renderTargetThe render target of the renderPass that is used for the input attachment.
locationThe location to bind the input attachment to.

◆ DirectX12InputAttachmentMapping() [3/4]

DirectX12InputAttachmentMapping::DirectX12InputAttachmentMapping ( const DirectX12InputAttachmentMapping _other)
noexcept

Copies another input attachment mapping.

◆ DirectX12InputAttachmentMapping() [4/4]

DirectX12InputAttachmentMapping::DirectX12InputAttachmentMapping ( DirectX12InputAttachmentMapping &&  _other)
noexcept

Takes over another input attachment mapping.

◆ ~DirectX12InputAttachmentMapping()

DirectX12InputAttachmentMapping::~DirectX12InputAttachmentMapping ( )
virtualdefaultnoexcept

Member Function Documentation

◆ inputAttachmentSource()

const DirectX12RenderPass * DirectX12InputAttachmentMapping::inputAttachmentSource ( ) const
overridevirtualnoexcept

Returns the source of the input attachment render target.

Implements LiteFX::Rendering::IInputAttachmentMapping< DirectX12RenderPass >.

◆ location()

const UInt32 & DirectX12InputAttachmentMapping::location ( ) const
overridevirtualnoexcept

Returns the location of the input attachment, the render target will be bound to.

Implements LiteFX::Rendering::IInputAttachmentMapping< DirectX12RenderPass >.

◆ operator=() [1/2]

DirectX12InputAttachmentMapping & DirectX12InputAttachmentMapping::operator= ( const DirectX12InputAttachmentMapping _other)
inlinenoexcept

Copies another input attachment mapping.

◆ operator=() [2/2]

DirectX12InputAttachmentMapping & DirectX12InputAttachmentMapping::operator= ( DirectX12InputAttachmentMapping &&  _other)
inlinenoexcept

Takes over another input attachment mapping.

◆ renderTarget()

const RenderTarget & DirectX12InputAttachmentMapping::renderTarget ( ) const
overridevirtualnoexcept

Returns a reference of the render target that is mapped to the input attachment.

Implements LiteFX::Rendering::IInputAttachmentMapping< DirectX12RenderPass >.