Function wgpu_core::command::bundle::set_index_buffer
source ยท fn set_index_buffer(
state: &mut State,
buffer_guard: &Storage<Fallible<Buffer>>,
buffer_id: Id<Buffer>,
index_format: IndexFormat,
offset: u64,
size: Option<NonZeroU64>,
) -> Result<(), RenderBundleErrorInner>