![]() |
LiteFX 0.3.1.2022
Computer Graphics Engine
|
Represents a mapping between a set of IRenderTarget instances and the input attachments of a RenderPass. More...
#include <rendering.hpp>
Public Types | |
using | input_attachment_mapping_source_type = TInputAttachmentMappingSource |
Public Member Functions | |
virtual | ~IInputAttachmentMapping () noexcept=default |
virtual const input_attachment_mapping_source_type * | inputAttachmentSource () const noexcept=0 |
Returns the source of the input attachment render target. More... | |
virtual const RenderTarget & | renderTarget () const noexcept=0 |
Returns a reference of the render target that is mapped to the input attachment. More... | |
virtual const UInt32 & | location () const noexcept=0 |
Returns the location of the input attachment, the render target will be bound to. More... | |
Represents a mapping between a set of IRenderTarget instances and the input attachments of a RenderPass.
TInputAttachmentMappingSource | The type of the input attachment mapping source. Must implement IInputAttachmentMappingSource. |
using LiteFX::Rendering::IInputAttachmentMapping< TInputAttachmentMappingSource >::input_attachment_mapping_source_type = TInputAttachmentMappingSource |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Returns the source of the input attachment render target.
Implemented in LiteFX::Rendering::Backends::DirectX12InputAttachmentMapping, and LiteFX::Rendering::Backends::VulkanInputAttachmentMapping.
|
pure virtualnoexcept |
Returns the location of the input attachment, the render target will be bound to.
The locations of all input attachments for a frame buffer must be within a continuous domain, starting at 0
. A frame buffer validates the locations when it is initialized and will raise an exception, if a location is either not mapped or assigned multiple times.
Implemented in LiteFX::Rendering::Backends::DirectX12InputAttachmentMapping, and LiteFX::Rendering::Backends::VulkanInputAttachmentMapping.
|
pure virtualnoexcept |
Returns a reference of the render target that is mapped to the input attachment.
Implemented in LiteFX::Rendering::Backends::DirectX12InputAttachmentMapping, and LiteFX::Rendering::Backends::VulkanInputAttachmentMapping.