[−][src]Struct wgpu::RenderPass
Methods
impl<'a> RenderPass<'a>
[src]
pub fn set_bind_group(&mut self, index: u32, bind_group: &BindGroup)
[src]
pub fn set_pipeline(&mut self, pipeline: &RenderPipeline)
[src]
pub fn set_index_buffer(&mut self, buffer: &Buffer, offset: u32)
[src]
pub fn set_vertex_buffers(&mut self, buffer_pairs: &[(&Buffer, u32)])
[src]
pub fn draw(&mut self, vertices: Range<u32>, instances: Range<u32>)
[src]
pub fn draw_indexed(
&mut self,
indices: Range<u32>,
base_vertex: i32,
instances: Range<u32>
)
[src]
&mut self,
indices: Range<u32>,
base_vertex: i32,
instances: Range<u32>
)
Trait Implementations
impl<'a> Drop for RenderPass<'a>
[src]
Auto Trait Implementations
impl<'a> Send for RenderPass<'a>
impl<'a> Sync for RenderPass<'a>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.