[][src]Struct wgpu_core::device::trace::RenderPipelineDescriptor

pub struct RenderPipelineDescriptor {
    pub layout: PipelineLayoutId,
    pub vertex_stage: ProgrammableStageDescriptor,
    pub fragment_stage: Option<ProgrammableStageDescriptor>,
    pub primitive_topology: PrimitiveTopology,
    pub rasterization_state: Option<RasterizationStateDescriptor>,
    pub color_states: Vec<ColorStateDescriptor>,
    pub depth_stencil_state: Option<DepthStencilStateDescriptor>,
    pub vertex_state: VertexStateDescriptor,
    pub sample_count: u32,
    pub sample_mask: u32,
    pub alpha_to_coverage_enabled: bool,
}

Fields

layout: PipelineLayoutIdvertex_stage: ProgrammableStageDescriptorfragment_stage: Option<ProgrammableStageDescriptor>primitive_topology: PrimitiveTopologyrasterization_state: Option<RasterizationStateDescriptor>color_states: Vec<ColorStateDescriptor>depth_stencil_state: Option<DepthStencilStateDescriptor>vertex_state: VertexStateDescriptorsample_count: u32sample_mask: u32alpha_to_coverage_enabled: bool

Trait Implementations

impl Debug for RenderPipelineDescriptor[src]

impl Serialize for RenderPipelineDescriptor[src]

Auto Trait Implementations

impl !RefUnwindSafe for RenderPipelineDescriptor

impl Send for RenderPipelineDescriptor

impl Sync for RenderPipelineDescriptor

impl Unpin for RenderPipelineDescriptor

impl UnwindSafe for RenderPipelineDescriptor

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.