Struct vulkano::pipeline::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, BuffersDefinition, (), (), (), (), ()>
pub fn start<'a>(
) -> GraphicsPipelineBuilder<'static, 'static, 'static, 'static, 'static, BuffersDefinition, (), (), (), (), ()>
Starts the building process of a graphics pipeline. Returns a builder object that you can fill with the various parameters.
Returns the pipeline layout used to create this pipeline.
Returns the vertex input description of the graphics pipeline.
Returns the number of viewports and scissors of this pipeline.
Returns the mode of a particular dynamic state.
None
is returned if the pipeline does not contain this state. Previously set dynamic
state is not disturbed when binding it.
pub fn dynamic_states(
&self
) -> impl ExactSizeIterator<Item = (DynamicState, DynamicStateMode)> + '_
pub fn dynamic_states(
&self
) -> impl ExactSizeIterator<Item = (DynamicState, DynamicStateMode)> + '_
Returns all dynamic states and their modes.
Trait Implementations
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.