Function wgpu_core::command::render::set_index_buffer

source ยท
fn set_index_buffer(
    state: &mut State<'_, '_, '_, '_>,
    cmd_buf: &Arc<CommandBuffer>,
    buffer: Arc<Buffer>,
    index_format: IndexFormat,
    offset: u64,
    size: Option<BufferSize>,
) -> Result<(), RenderPassErrorInner>