|
SPARK
0.1.0
A general purpose game engine written in C++.
|
Represents a the input assembler state of a IRenderPipeline. More...
#include <InputAssembler.h>
Public Types | |
| using | VertexBufferLayout = VertexBufferLayoutType |
| using | IndexBufferLayout = IndexBufferLayoutType |
Public Member Functions | |
| virtual std::vector< const VertexBufferLayoutType * > | vertexBufferLayouts () const noexcept=0 |
| Gets all vertex buffers layouts in the input assembly. | |
| const VertexBufferLayoutType & | vertexBufferLayout (unsigned binding) const override=0 |
| const IndexBufferLayoutType & | indexBufferLayout () const override=0 |
| Gets the index buffer layout. | |
Public Member Functions inherited from spark::render::IInputAssembler | |
| 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 PrimitiveTopology | topology () const noexcept=0 |
| Gets the topology of the input assembly. | |
Represents a the input assembler state of a IRenderPipeline.
| VertexBufferLayoutType | The type of the vertex buffer layout. (inherits from IVertexBufferLayout) |
| IndexBufferLayoutType | The type of the index buffer layout. (inherits from IIndexBufferLayout) |
|
nodiscardoverridepure virtual |
Gets the index buffer layout.
Implements spark::render::IInputAssembler.
Implemented in spark::render::vk::VulkanInputAssembler.
|
nodiscardoverridepure virtual |
Implemented in spark::render::vk::VulkanInputAssembler.
|
nodiscardpure virtualnoexcept |
Gets all vertex buffers layouts in the input assembly.
Implemented in spark::render::vk::VulkanInputAssembler.