[][src]Struct wgpu_core::pipeline::RenderPipelineDescriptor

#[repr(C)]pub struct RenderPipelineDescriptor {
    pub layout: PipelineLayoutId,
    pub vertex_stage: ProgrammableStageDescriptor,
    pub fragment_stage: *const ProgrammableStageDescriptor,
    pub primitive_topology: PrimitiveTopology,
    pub rasterization_state: *const RasterizationStateDescriptor,
    pub color_states: *const ColorStateDescriptor,
    pub color_states_length: usize,
    pub depth_stencil_state: *const 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: *const ProgrammableStageDescriptorprimitive_topology: PrimitiveTopologyrasterization_state: *const RasterizationStateDescriptorcolor_states: *const ColorStateDescriptorcolor_states_length: usizedepth_stencil_state: *const DepthStencilStateDescriptorvertex_state: VertexStateDescriptorsample_count: u32sample_mask: u32alpha_to_coverage_enabled: bool

Trait Implementations

impl Debug 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.