pub struct MeshState<'a, SM = ShaderModuleId> {
pub stage: ProgrammableStageDescriptor<'a, SM>,
}Expand description
Describes the mesh shader in a mesh shader pipeline.
Fields§
§stage: ProgrammableStageDescriptor<'a, SM>The compiled mesh stage and its entry point.
Trait Implementations§
Auto Trait Implementations§
impl<'a, SM> Freeze for MeshState<'a, SM>where
SM: Freeze,
impl<'a, SM> RefUnwindSafe for MeshState<'a, SM>where
SM: RefUnwindSafe,
impl<'a, SM> Send for MeshState<'a, SM>where
SM: Send,
impl<'a, SM> Sync for MeshState<'a, SM>where
SM: Sync,
impl<'a, SM> Unpin for MeshState<'a, SM>where
SM: Unpin,
impl<'a, SM> UnwindSafe for MeshState<'a, SM>where
SM: UnwindSafe,
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