LiteFX 0.3.1.2022
Computer Graphics Engine
|
Represents a the input assembler state of a RenderPipeline. More...
#include <rendering.hpp>
Inherits LiteFX::Rendering::IInputAssembler.
Public Types | |
using | vertex_buffer_layout_type = TVertexBufferLayout |
using | index_buffer_layout_type = TIndexBufferLayout |
Public Member Functions | |
virtual | ~InputAssembler () noexcept=default |
virtual Array< const vertex_buffer_layout_type * > | vertexBufferLayouts () const noexcept=0 |
virtual const vertex_buffer_layout_type & | vertexBufferLayout (const UInt32 &binding) const =0 |
Returns the vertex buffer layout for binding provided with binding . More... | |
virtual const index_buffer_layout_type & | indexBufferLayout () const =0 |
Returns the index buffer layout. More... | |
Public Member Functions inherited from LiteFX::Rendering::IInputAssembler | |
virtual | ~IInputAssembler () noexcept=default |
Array< const IVertexBufferLayout * > | vertexBufferLayouts () const noexcept |
Returns all vertex buffer layouts of the input assembly. More... | |
virtual const IVertexBufferLayout & | vertexBufferLayout (const UInt32 &binding) const =0 |
Returns the vertex buffer layout for binding provided with binding . More... | |
virtual const IIndexBufferLayout & | indexBufferLayout () const =0 |
Returns the index buffer layout. More... | |
virtual const PrimitiveTopology & | topology () const noexcept=0 |
Returns the primitive topology. More... | |
Represents a the input assembler state of a RenderPipeline.
TVertexBufferLayout | The type of the vertex buffer layout. Must implement IVertexBufferLayout. |
TIndexBufferLayout | The type of the index buffer layout. Must implement IIndexBufferLayout. |
using LiteFX::Rendering::InputAssembler< TVertexBufferLayout, TIndexBufferLayout >::index_buffer_layout_type = TIndexBufferLayout |
using LiteFX::Rendering::InputAssembler< TVertexBufferLayout, TIndexBufferLayout >::vertex_buffer_layout_type = TVertexBufferLayout |
|
virtualdefaultnoexcept |
|
pure virtual |
Returns the index buffer layout.
Implements LiteFX::Rendering::IInputAssembler.
Implemented in LiteFX::Rendering::Backends::DirectX12InputAssembler, and LiteFX::Rendering::Backends::VulkanInputAssembler.
|
pure virtual |
Returns the vertex buffer layout for binding provided with binding .
Implements LiteFX::Rendering::IInputAssembler.
Implemented in LiteFX::Rendering::Backends::DirectX12InputAssembler, and LiteFX::Rendering::Backends::VulkanInputAssembler.
|
pure virtualnoexcept |