pub extern "C" fn wgpu_render_pass_set_index_buffer(
    pass: &mut RenderPass,
    buffer: Id<Buffer<Api>>,
    index_format: IndexFormat,
    offset: u64,
    size: Option<NonZeroU64>
)
Available on crate feature wgpu only.