LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Rendering::IInputAssembler Class Referenceabstract

The interface for an input assembler state. More...

#include <rendering_api.hpp>

Inherited by LiteFX::Rendering::InputAssembler< DirectX12VertexBufferLayout, DirectX12IndexBufferLayout >, LiteFX::Rendering::InputAssembler< VulkanVertexBufferLayout, VulkanIndexBufferLayout >, and LiteFX::Rendering::InputAssembler< TVertexBufferLayout, TIndexBufferLayout >.

Public Member Functions

virtual ~IInputAssembler () noexcept=default
 
Array< const IVertexBufferLayout * > vertexBufferLayouts () const noexcept
 Returns all vertex buffer layouts of the input assembly. More...
 
virtual const IVertexBufferLayoutvertexBufferLayout (const UInt32 &binding) const =0
 Returns the vertex buffer layout for binding provided with binding . More...
 
virtual const IIndexBufferLayoutindexBufferLayout () const =0
 Returns the index buffer layout. More...
 
virtual const PrimitiveTopology & topology () const noexcept=0
 Returns the primitive topology. More...
 

Detailed Description

The interface for an input assembler state.

Constructor & Destructor Documentation

◆ ~IInputAssembler()

virtual LiteFX::Rendering::IInputAssembler::~IInputAssembler ( )
virtualdefaultnoexcept

Member Function Documentation

◆ indexBufferLayout()

◆ topology()

virtual const PrimitiveTopology & LiteFX::Rendering::IInputAssembler::topology ( ) const
pure virtualnoexcept

Returns the primitive topology.

Returns
The primitive topology.

Implemented in LiteFX::Rendering::Backends::DirectX12InputAssembler, and LiteFX::Rendering::Backends::VulkanInputAssembler.

◆ vertexBufferLayout()

virtual const IVertexBufferLayout & LiteFX::Rendering::IInputAssembler::vertexBufferLayout ( const UInt32 binding) const
pure virtual

◆ vertexBufferLayouts()

Array< const IVertexBufferLayout * > LiteFX::Rendering::IInputAssembler::vertexBufferLayouts ( ) const
inlinenoexcept

Returns all vertex buffer layouts of the input assembly.

Returns
All vertex buffer layouts of the input assembly.