Skip to main content

SetBuffers

Trait SetBuffers 

Source
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§

Source

fn set_buffers(&mut self, buffer: BufferPass<'b>)

Sets the Vertex and Index buffers from a BufferPass

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, 'b> SetBuffers<'a, 'b> for RenderPass<'a>
where 'b: 'a,

Source§

fn set_buffers(&mut self, buffer: BufferPass<'b>)

Implementors§