pub trait SetBuffers<'a, 'b>where
'b: 'a,{
// Required method
fn set_buffers(&mut self, buffer: BufferPass<'b>);
}Expand description
Trait to allow wgpu::RenderPass to Set the Vertex and Index buffers.
Required Methods§
Sourcefn set_buffers(&mut self, buffer: BufferPass<'b>)
fn set_buffers(&mut self, buffer: BufferPass<'b>)
Sets the Vertex and Index buffers from a BufferPass