Skip to content

LiteFX::Rendering::Backends::VulkanCommandBuffer::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

NameDescription
bufferThe index buffer to bind to the pipeline.

See Also

IndexBuffer

drawIndexed