Struct simple_wgpu::BufferSlice
source · pub struct BufferSlice { /* private fields */ }
Expand description
A sub-slice of a Buffer
Implementations§
source§impl BufferSlice
impl BufferSlice
sourcepub fn get(&self) -> BufferSlice<'_>
pub fn get(&self) -> BufferSlice<'_>
Get the underlying wgpu Buffer. You’ll need this to map the contents of the buffer