Struct sierra::GraphicsPipelineInfo[][src]

pub struct GraphicsPipelineInfo {
    pub vertex_bindings: Vec<VertexInputBinding>,
    pub vertex_attributes: Vec<VertexInputAttribute>,
    pub primitive_topology: PrimitiveTopology,
    pub primitive_restart_enable: bool,
    pub vertex_shader: VertexShader,
    pub rasterizer: Option<Rasterizer>,
    pub layout: PipelineLayout,
    pub render_pass: RenderPass,
    pub subpass: u32,
}

Graphics pipeline state definition. Fields are ordered to match pipeline stages, including fixed functions.

Fields

vertex_bindings: Vec<VertexInputBinding>

For each vertex buffer specifies how it is bound.

vertex_attributes: Vec<VertexInputAttribute>

For each vertex attribute specifies where is the data is read from.

primitive_topology: PrimitiveTopology

Input primitives topology.

primitive_restart_enable: bool

If True then special marker index value !0 will restart primitive assembly next index, discarding any incomplete primitives.

vertex_shader: VertexShader

Vertex shader for pipeline.

rasterizer: Option<Rasterizer>

Primitives rasteriazation behavior. If None then no rasterization is performed. This is useful when only side-effects of earlier stages are needed.

layout: PipelineLayout

Pipeline layout.

render_pass: RenderPass

Render pass within which this pipeline will be executed.

subpass: u32

Subpass of the render pass within which this pipeline will be executed.

Trait Implementations

impl Clone for GraphicsPipelineInfo[src]

impl Debug for GraphicsPipelineInfo[src]

impl Eq for GraphicsPipelineInfo[src]

impl Hash for GraphicsPipelineInfo[src]

impl PartialEq<GraphicsPipelineInfo> for GraphicsPipelineInfo[src]

impl StructuralEq for GraphicsPipelineInfo[src]

impl StructuralPartialEq for GraphicsPipelineInfo[src]

Auto Trait Implementations

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> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.