pub struct MeshPipelineDesc {
pub label: Label,
pub layout: Id,
pub task: Option<ProgrammableStage>,
pub mesh: ProgrammableStage,
pub primitive: PrimitiveState,
pub depth_stencil: Option<DepthStencilState>,
pub multisample: MultisampleState,
pub fragment: Option<(ProgrammableStage, Vec<Option<ColorTargetState>>)>,
pub multiview: Option<NonZeroU32>,
}Fields§
§label: Label§layout: Id§task: Option<ProgrammableStage>§mesh: ProgrammableStage§primitive: PrimitiveState§depth_stencil: Option<DepthStencilState>§multisample: MultisampleState§fragment: Option<(ProgrammableStage, Vec<Option<ColorTargetState>>)>§multiview: Option<NonZeroU32>Trait Implementations§
Source§impl Clone for MeshPipelineDesc
impl Clone for MeshPipelineDesc
Source§fn clone(&self) -> MeshPipelineDesc
fn clone(&self) -> MeshPipelineDesc
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 MeshPipelineDesc
impl Debug for MeshPipelineDesc
Source§impl<'de> Deserialize<'de> for MeshPipelineDesc
impl<'de> Deserialize<'de> for MeshPipelineDesc
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MeshPipelineDesc
impl RefUnwindSafe for MeshPipelineDesc
impl Send for MeshPipelineDesc
impl Sync for MeshPipelineDesc
impl Unpin for MeshPipelineDesc
impl UnsafeUnpin for MeshPipelineDesc
impl UnwindSafe for MeshPipelineDesc
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