SPARK
0.1.0
A general purpose game engine written in C++.
|
Public Member Functions | |
std::vector< const IVertexBufferLayout * > | vertexBufferLayouts () const noexcept |
Gets all vertex buffers layouts in the input assembly. | |
virtual const IVertexBufferLayout & | vertexBufferLayout (unsigned int binding) const =0 |
Gets the vertex buffer layout for the given binding . | |
virtual const IIndexBufferLayout & | indexBufferLayout () const =0 |
Gets the index buffer layout. | |
virtual PrimitiveTopology | topology () const noexcept=0 |
Gets the topology of the input assembly. | |
|
nodiscardpure virtual |
Gets the index buffer layout.
Implemented in spark::render::InputAssembler< VertexBufferLayoutType, IndexBufferLayoutType >, spark::render::InputAssembler< VulkanVertexBufferLayout, VulkanIndexBufferLayout >, and spark::render::vk::VulkanInputAssembler.
|
nodiscardpure virtualnoexcept |
Gets the topology of the input assembly.
Implemented in spark::render::vk::VulkanInputAssembler.
|
nodiscardpure virtual |
Gets the vertex buffer layout for the given binding
.
binding | The binding point of the vertex buffer layout. |
binding
.
|
inlinenodiscardnoexcept |
Gets all vertex buffers layouts in the input assembly.