![]() |
LiteFX 0.3.1.2022
Computer Graphics Engine
|
Implements the Vulkan input assembler state. More...
#include <vulkan.hpp>
Inherits LiteFX::Rendering::InputAssembler< VulkanVertexBufferLayout, VulkanIndexBufferLayout >.
Classes | |
class | VulkanInputAssemblerImpl |
Public Member Functions | |
VulkanInputAssembler (Array< UniquePtr< VulkanVertexBufferLayout > > &&vertexBufferLayouts, UniquePtr< VulkanIndexBufferLayout > &&indexBufferLayout, const PrimitiveTopology &primitiveTopology=PrimitiveTopology::TriangleList) | |
Initializes a new Vulkan input assembler state. More... | |
VulkanInputAssembler (VulkanInputAssembler &&) noexcept=delete | |
VulkanInputAssembler (const VulkanInputAssembler &) noexcept=delete | |
virtual | ~VulkanInputAssembler () noexcept |
virtual Array< const VulkanVertexBufferLayout * > | vertexBufferLayouts () const noexcept override |
virtual const VulkanVertexBufferLayout & | vertexBufferLayout (const UInt32 &binding) const override |
Returns the vertex buffer layout for binding provided with binding . More... | |
virtual const VulkanIndexBufferLayout & | indexBufferLayout () const override |
Returns the index buffer layout. More... | |
virtual const PrimitiveTopology & | topology () const noexcept override |
Returns the primitive topology. More... | |
![]() | |
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... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
using | vertex_buffer_layout_type = VulkanVertexBufferLayout |
using | index_buffer_layout_type = VulkanIndexBufferLayout |
Implements the Vulkan input assembler state.
|
explicit |
Initializes a new Vulkan input assembler state.
vertexBufferLayouts | The vertex buffer layouts supported by the input assembler state. Each layout must have a unique binding. |
indexBufferLayout | The index buffer layout. |
primitiveTopology | The primitive topology. |
|
deletenoexcept |
|
deletenoexcept |
|
virtualdefaultnoexcept |
|
overridevirtual |
Returns the index buffer layout.
Implements LiteFX::Rendering::InputAssembler< VulkanVertexBufferLayout, VulkanIndexBufferLayout >.
|
overridevirtualnoexcept |
Returns the primitive topology.
Implements LiteFX::Rendering::IInputAssembler.
|
overridevirtual |
Returns the vertex buffer layout for binding provided with binding .
Implements LiteFX::Rendering::InputAssembler< VulkanVertexBufferLayout, VulkanIndexBufferLayout >.
|
overridevirtualnoexcept |