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.
If this pipeline was created with a default layout, then
bind groups created with the returned BindGroupLayout can only be used with this pipeline.
This method will raise a validation error if there is no bind group layout at index.
Trait Implementations§
Source§impl Clone for RenderPipeline
 
impl Clone for RenderPipeline
Source§fn clone(&self) -> RenderPipeline
 
fn clone(&self) -> RenderPipeline
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for RenderPipeline
 
impl Debug for RenderPipeline
Source§impl Hash for RenderPipeline
 
impl Hash for RenderPipeline
Source§impl Ord for RenderPipeline
 
impl Ord for RenderPipeline
Source§impl PartialEq for RenderPipeline
 
impl PartialEq for RenderPipeline
Source§impl PartialOrd for RenderPipeline
 
impl PartialOrd for RenderPipeline
impl Eq for RenderPipeline
Auto Trait Implementations§
impl Freeze for RenderPipeline
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.