Struct wgpu::RenderPipeline 
source · pub struct RenderPipeline { /* private fields */ }Expand description
Handle to a rendering (graphics) pipeline.
A RenderPipeline object represents a graphics pipeline and its stages, bindings, vertex
buffers and targets. It can be created with Device::create_render_pipeline.
Corresponds to WebGPU GPURenderPipeline.
Implementations§
source§impl RenderPipeline
 
impl RenderPipeline
sourcepub fn get_bind_group_layout(&self, index: u32) -> BindGroupLayout
 
pub fn get_bind_group_layout(&self, index: u32) -> BindGroupLayout
Get an object representing the bind group layout at a given index.
Trait Implementations§
source§impl Debug for RenderPipeline
 
impl Debug for RenderPipeline
Auto Trait Implementations§
impl !RefUnwindSafe for RenderPipeline
impl Send for RenderPipeline
impl Sync for RenderPipeline
impl Unpin for RenderPipeline
impl !UnwindSafe for RenderPipeline
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more