LiteFX 0.4.1.2025
Computer Graphics Engine
Loading...
Searching...
No Matches
LiteFX::Rendering::RenderPassDependency Class Reference

Represents a mapping between a set of RenderTarget instances and the input attachments of a IRenderPass. More...

#include <rendering_api.hpp>

Classes

class  RenderPassDependencyImpl
 

Public Member Functions

 RenderPassDependency (const RenderTarget &renderTarget, const DescriptorBindingPoint &descriptorBinding) noexcept
 Creates a new render target dependency.
 
 RenderPassDependency (const RenderTarget &renderTarget, UInt32 bindingRegister, UInt32 space) noexcept
 Creates a new render target dependency.
 
 RenderPassDependency (const RenderPassDependency &_other)
 Creates a copy of another render pass dependency.
 
 RenderPassDependency (RenderPassDependency &&_other) noexcept
 Takes over another render pass dependency instance.
 
RenderPassDependencyoperator= (const RenderPassDependency &_other)
 Assigns another render pass dependency instance by copying it.
 
RenderPassDependencyoperator= (RenderPassDependency &&_other) noexcept
 Assigns another render pass dependency by taking it over.
 
 ~RenderPassDependency () noexcept
 Releases the current render pass dependency instance.
 
const RenderTargetrenderTarget () const noexcept
 Returns a reference of the render target that is mapped to the input attachment.
 
const DescriptorBindingPointbinding () const noexcept
 Returns the binding point for the input attachment binding.
 

Detailed Description

Represents a mapping between a set of RenderTarget instances and the input attachments of a IRenderPass.

Constructor & Destructor Documentation

◆ RenderPassDependency() [1/4]

RenderPassDependency::RenderPassDependency ( const RenderTarget & renderTarget,
const DescriptorBindingPoint & descriptorBinding )
noexcept

Creates a new render target dependency.

Parameters
renderTargetThe render target of the renderPass that is used for the input attachment.
descriptorBindingThe binding point to bind the input attachment to.

◆ RenderPassDependency() [2/4]

RenderPassDependency::RenderPassDependency ( const RenderTarget & renderTarget,
UInt32 bindingRegister,
UInt32 space )
noexcept

Creates a new render target dependency.

Parameters
renderTargetThe render target of the renderPass that is used for the input attachment.
bindingRegisterThe register to bind the input attachment to.
spaceThe space to bind the input attachment to.

◆ RenderPassDependency() [3/4]

RenderPassDependency::RenderPassDependency ( const RenderPassDependency & _other)
default

Creates a copy of another render pass dependency.

Parameters
_otherThe render pass dependency to copy.

◆ RenderPassDependency() [4/4]

RenderPassDependency::RenderPassDependency ( RenderPassDependency && _other)
defaultnoexcept

Takes over another render pass dependency instance.

Parameters
_otherThe render pass dependency instance to take over.

◆ ~RenderPassDependency()

RenderPassDependency::~RenderPassDependency ( )
defaultnoexcept

Releases the current render pass dependency instance.

Member Function Documentation

◆ binding()

const DescriptorBindingPoint & RenderPassDependency::binding ( ) const
noexcept

Returns the binding point for the input attachment binding.

Returns
The binding point for the input attachment binding.

◆ operator=() [1/2]

RenderPassDependency & RenderPassDependency::operator= ( const RenderPassDependency & _other)
default

Assigns another render pass dependency instance by copying it.

Parameters
_otherThe render pass dependency to copy.
Returns
A reference of the current render pass dependency instance.

◆ operator=() [2/2]

RenderPassDependency & RenderPassDependency::operator= ( RenderPassDependency && _other)
defaultnoexcept

Assigns another render pass dependency by taking it over.

Parameters
_otherThe render pass dependency to take over.
Returns
A reference of the current render pass dependency instance.

◆ renderTarget()

const RenderTarget & RenderPassDependency::renderTarget ( ) const
noexcept

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

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