LiteFX::Rendering::Backends::VulkanCommandBuffer::bind¶
Binds a vertex buffer to the pipeline.
Synopsis¶
Declared in <litefx/rendering.hpp>
[[dllimport]] virtual void bind(vertex_buffer_type const& buffer) const noexcept = 0;
Description¶
After binding the vertex buffer, the next call to draw or drawIndexed will read from it, until another vertex buffer is bound.
Parameters¶
| Name | Description |
|---|---|
| buffer | The vertex buffer to bind to the pipeline. |
See Also¶
VertexBuffer
draw
drawIndexed