LiteFX::Rendering::Backends::DirectX12CommandBuffer::bind¶
Binds a index buffer to the pipeline.
Synopsis¶
Declared in <litefx/rendering.hpp>
[[dllimport]] virtual void bind(index_buffer_type const& buffer) const noexcept = 0;
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