LiteFX::Rendering::Backends::VulkanCommandBuffer::bind¶
Binds a index buffer to the pipeline.
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
[[dllimport, dllexport]] virtual void bind(IVulkanIndexBuffer const& buffer) const noexcept override;
Description¶
After binding the index buffer, the next call to drawIndexed will read from it, until another index buffer is bound.
Parameters¶
| Name | Description |
|---|---|
| buffer | The index buffer to bind to the pipeline. |
See Also¶
IndexBuffer
drawIndexed