pub struct RenderPipelineDescriptor<'a> {
pub layout: PipelineLayoutId,
pub vertex_stage: ProgrammableStageDescriptor<'a>,
pub fragment_stage: Option<ProgrammableStageDescriptor<'a>>,
pub primitive_topology: PrimitiveTopology,
pub rasterization_state: Option<RasterizationStateDescriptor>,
pub color_states: &'a [ColorStateDescriptor],
pub depth_stencil_state: Option<DepthStencilStateDescriptor>,
pub vertex_state: VertexStateDescriptor<'a>,
pub sample_count: u32,
pub sample_mask: u32,
pub alpha_to_coverage_enabled: bool,
}Fields§
§layout: PipelineLayoutId§vertex_stage: ProgrammableStageDescriptor<'a>§fragment_stage: Option<ProgrammableStageDescriptor<'a>>§primitive_topology: PrimitiveTopology§rasterization_state: Option<RasterizationStateDescriptor>§color_states: &'a [ColorStateDescriptor]§depth_stencil_state: Option<DepthStencilStateDescriptor>§vertex_state: VertexStateDescriptor<'a>§sample_count: u32§sample_mask: u32§alpha_to_coverage_enabled: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RenderPipelineDescriptor<'a>
impl<'a> !RefUnwindSafe for RenderPipelineDescriptor<'a>
impl<'a> Send for RenderPipelineDescriptor<'a>
impl<'a> Sync for RenderPipelineDescriptor<'a>
impl<'a> Unpin for RenderPipelineDescriptor<'a>
impl<'a> !UnwindSafe for RenderPipelineDescriptor<'a>
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