pub enum VertexProcessor<'a, M: DynShaderModule + ?Sized> {
Standard {
vertex_buffers: &'a [VertexBufferLayout<'a>],
vertex_stage: ProgrammableStage<'a, M>,
},
Mesh {
task_stage: Option<ProgrammableStage<'a, M>>,
mesh_stage: ProgrammableStage<'a, M>,
},
}
Variants§
Standard
Fields
§
vertex_buffers: &'a [VertexBufferLayout<'a>]
The format of any vertex buffers used with this pipeline.
§
vertex_stage: ProgrammableStage<'a, M>
The vertex stage for this pipeline.
Mesh
Trait Implementations§
Source§impl<'a, M: Clone + DynShaderModule + ?Sized> Clone for VertexProcessor<'a, M>
impl<'a, M: Clone + DynShaderModule + ?Sized> Clone for VertexProcessor<'a, M>
Source§fn clone(&self) -> VertexProcessor<'a, M>
fn clone(&self) -> VertexProcessor<'a, M>
Returns a copy 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<'a, M> Freeze for VertexProcessor<'a, M>where
M: ?Sized,
impl<'a, M> RefUnwindSafe for VertexProcessor<'a, M>where
M: RefUnwindSafe + ?Sized,
impl<'a, M> Send for VertexProcessor<'a, M>where
M: ?Sized,
impl<'a, M> Sync for VertexProcessor<'a, M>where
M: ?Sized,
impl<'a, M> Unpin for VertexProcessor<'a, M>where
M: ?Sized,
impl<'a, M> UnwindSafe for VertexProcessor<'a, M>where
M: RefUnwindSafe + ?Sized,
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