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 duplicate of the value. Read more
1.0.0§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>
impl<'a, M> Sync for VertexProcessor<'a, M>
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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)