LiteFX 0.3.1.2022
Computer Graphics Engine
|
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 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... | |
The interface for an input assembler state.
|
virtualdefaultnoexcept |
|
pure virtual |
Returns the index buffer layout.
Implemented in LiteFX::Rendering::InputAssembler< TVertexBufferLayout, TIndexBufferLayout >, LiteFX::Rendering::Backends::DirectX12InputAssembler, LiteFX::Rendering::Backends::VulkanInputAssembler, LiteFX::Rendering::InputAssembler< DirectX12VertexBufferLayout, DirectX12IndexBufferLayout >, and LiteFX::Rendering::InputAssembler< VulkanVertexBufferLayout, VulkanIndexBufferLayout >.
|
pure virtualnoexcept |
Returns the primitive topology.
Implemented in LiteFX::Rendering::Backends::DirectX12InputAssembler, and LiteFX::Rendering::Backends::VulkanInputAssembler.
|
pure virtual |
Returns the vertex buffer layout for binding provided with binding .
binding | The binding point of the vertex buffer layout. |
Implemented in LiteFX::Rendering::InputAssembler< TVertexBufferLayout, TIndexBufferLayout >, LiteFX::Rendering::Backends::DirectX12InputAssembler, LiteFX::Rendering::Backends::VulkanInputAssembler, LiteFX::Rendering::InputAssembler< DirectX12VertexBufferLayout, DirectX12IndexBufferLayout >, and LiteFX::Rendering::InputAssembler< VulkanVertexBufferLayout, VulkanIndexBufferLayout >.
|
inlinenoexcept |
Returns all vertex buffer layouts of the input assembly.