pub struct RenderPipelineDesc {
pub label: Label,
pub layout: Id,
pub vertex: ProgrammableStage,
pub buffers: Vec<Option<VertexBufferLayout>>,
pub primitive: PrimitiveState,
pub depth_stencil: Option<DepthStencilState>,
pub multisample: MultisampleState,
pub fragment: Option<(ProgrammableStage, Vec<Option<ColorTargetState>>)>,
pub multiview_mask: Option<NonZeroU32>,
}Fields§
§label: Label§layout: Id0 = automatic layout
vertex: ProgrammableStage§buffers: Vec<Option<VertexBufferLayout>>§primitive: PrimitiveState§depth_stencil: Option<DepthStencilState>§multisample: MultisampleState§fragment: Option<(ProgrammableStage, Vec<Option<ColorTargetState>>)>§multiview_mask: Option<NonZeroU32>Trait Implementations§
Source§impl Clone for RenderPipelineDesc
impl Clone for RenderPipelineDesc
Source§fn clone(&self) -> RenderPipelineDesc
fn clone(&self) -> RenderPipelineDesc
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 RenderPipelineDesc
impl Debug for RenderPipelineDesc
Source§impl<'de> Deserialize<'de> for RenderPipelineDesc
impl<'de> Deserialize<'de> for RenderPipelineDesc
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 RenderPipelineDesc
impl RefUnwindSafe for RenderPipelineDesc
impl Send for RenderPipelineDesc
impl Sync for RenderPipelineDesc
impl Unpin for RenderPipelineDesc
impl UnsafeUnpin for RenderPipelineDesc
impl UnwindSafe for RenderPipelineDesc
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