Struct vulkano::pipeline::graphics::GraphicsPipeline [−][src]
pub struct GraphicsPipeline { /* fields omitted */ }
Expand description
Defines how the implementation should perform a draw operation.
This object contains the shaders and the various fixed states that describe how the implementation should perform the various operations needed by a draw command.
Implementations
pub fn start<'a>(
) -> GraphicsPipelineBuilder<'static, 'static, 'static, 'static, 'static, VertexInputState, (), (), (), (), ()>
pub fn start<'a>(
) -> GraphicsPipelineBuilder<'static, 'static, 'static, 'static, 'static, VertexInputState, (), (), (), (), ()>
Starts the building process of a graphics pipeline. Returns a builder object that you can fill with the various parameters.
pub fn descriptor_requirements(
&self
) -> impl ExactSizeIterator<Item = ((u32, u32), &DescriptorRequirements)>
pub fn descriptor_requirements(
&self
) -> impl ExactSizeIterator<Item = ((u32, u32), &DescriptorRequirements)>
Returns an iterator over the descriptor requirements for this pipeline.
Returns the vertex input state used to create this pipeline.
Returns the input assembly state used to create this pipeline.
Returns the tessellation state used to create this pipeline.
Returns the viewport state used to create this pipeline.
Returns the discard rectangle state used to create this pipeline.
Returns the rasterization state used to create this pipeline.
Returns the multisample state used to create this pipeline.
Returns the depth/stencil state used to create this pipeline.
Returns the color blend state used to create this pipeline.
Returns whether a particular state is must be dynamically set.
None
is returned if the pipeline does not contain this state. Previously set dynamic
state is not disturbed when binding it.
Returns all potentially dynamic states in the pipeline, and whether they are dynamic or not.
Trait Implementations
Returns the bind point of this pipeline.
Returns the pipeline layout used in this pipeline.
Returns the number of descriptor sets actually accessed by this pipeline. This may be less than the number of sets in the pipeline layout. Read more
Returns a reference to the object.
Auto Trait Implementations
impl RefUnwindSafe for GraphicsPipeline
impl Send for GraphicsPipeline
impl Sync for GraphicsPipeline
impl Unpin for GraphicsPipeline
impl UnwindSafe for GraphicsPipeline
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.