[][src]Struct wgpu_native::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_input: VertexInputDescriptor,
    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_input: VertexInputDescriptorsample_count: u32sample_mask: u32alpha_to_coverage_enabled: bool

Trait Implementations

impl Debug for RenderPipelineDescriptor[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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