LiteFX::Rendering::ICommandBuffer::bind¶
Binds a index buffer to the pipeline.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] void bind(IIndexBuffer const& buffer) const;
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