wgpu_core::command::render

Function set_vertex_buffer

source
fn set_vertex_buffer(
    state: &mut State<'_, '_, '_, '_>,
    cmd_buf: &Arc<CommandBuffer>,
    slot: u32,
    buffer: Arc<Buffer>,
    offset: u64,
    size: Option<BufferSize>,
) -> Result<(), RenderPassErrorInner>