pub struct RenderPipelineBuilder { /* private fields */ }
Expand description
Builds a RenderPipeline
Implementations§
Source§impl RenderPipelineBuilder
impl RenderPipelineBuilder
pub fn with_vertex<I>(entry_point: &EntryPoint, vertex_buffer_layout: I) -> Self
pub fn vertex<I>( self, entry_point: &EntryPoint, vertex_buffer_layout: I, ) -> Self
pub fn fragment<I>(self, entry_point: &EntryPoint, targets: I) -> Self
pub fn no_fragment(self) -> Self
Sourcepub fn label(self, label: &str) -> Self
pub fn label(self, label: &str) -> Self
Set the optional debug name. This may appear in error messages and GPU profiler traces
pub fn build(self) -> RenderPipeline
Trait Implementations§
Source§impl Clone for RenderPipelineBuilder
impl Clone for RenderPipelineBuilder
Source§fn clone(&self) -> RenderPipelineBuilder
fn clone(&self) -> RenderPipelineBuilder
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 moreAuto Trait Implementations§
impl Freeze for RenderPipelineBuilder
impl !RefUnwindSafe for RenderPipelineBuilder
impl Send for RenderPipelineBuilder
impl Sync for RenderPipelineBuilder
impl Unpin for RenderPipelineBuilder
impl !UnwindSafe for RenderPipelineBuilder
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