pub struct GraphicsPipelineCreateInfoBuilder<'b> { /* private fields */ }Expand description
A builder for a GraphicsPipelineCreateInfo.
Implementations§
Source§impl<'b> GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> GraphicsPipelineCreateInfoBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere
T: ExtendsGraphicsPipelineCreateInfo,
pub fn flags(self, flags: PipelineCreateFlags) -> Self
pub fn stage_count(self, stage_count: u32) -> Self
pub fn stages( self, stages: &'b [impl Cast<Target = PipelineShaderStageCreateInfo>], ) -> Self
pub fn vertex_input_state( self, vertex_input_state: &'b impl Cast<Target = PipelineVertexInputStateCreateInfo>, ) -> Self
pub fn input_assembly_state( self, input_assembly_state: &'b impl Cast<Target = PipelineInputAssemblyStateCreateInfo>, ) -> Self
pub fn tessellation_state( self, tessellation_state: &'b impl Cast<Target = PipelineTessellationStateCreateInfo>, ) -> Self
pub fn viewport_state( self, viewport_state: &'b impl Cast<Target = PipelineViewportStateCreateInfo>, ) -> Self
pub fn rasterization_state( self, rasterization_state: &'b impl Cast<Target = PipelineRasterizationStateCreateInfo>, ) -> Self
pub fn multisample_state( self, multisample_state: &'b impl Cast<Target = PipelineMultisampleStateCreateInfo>, ) -> Self
pub fn depth_stencil_state( self, depth_stencil_state: &'b impl Cast<Target = PipelineDepthStencilStateCreateInfo>, ) -> Self
pub fn color_blend_state( self, color_blend_state: &'b impl Cast<Target = PipelineColorBlendStateCreateInfo>, ) -> Self
pub fn dynamic_state( self, dynamic_state: &'b impl Cast<Target = PipelineDynamicStateCreateInfo>, ) -> Self
pub fn layout(self, layout: PipelineLayout) -> Self
pub fn render_pass(self, render_pass: RenderPass) -> Self
pub fn subpass(self, subpass: u32) -> Self
pub fn base_pipeline_handle(self, base_pipeline_handle: Pipeline) -> Self
pub fn base_pipeline_index(self, base_pipeline_index: i32) -> Self
pub fn build(self) -> GraphicsPipelineCreateInfo
Trait Implementations§
Source§impl Cast for GraphicsPipelineCreateInfoBuilder<'_>
impl Cast for GraphicsPipelineCreateInfoBuilder<'_>
Source§type Target = GraphicsPipelineCreateInfo
type Target = GraphicsPipelineCreateInfo
The other type this type can be used interchangeably with in FFI.
Source§impl<'b> Clone for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> Clone for GraphicsPipelineCreateInfoBuilder<'b>
Source§fn clone(&self) -> GraphicsPipelineCreateInfoBuilder<'b>
fn clone(&self) -> GraphicsPipelineCreateInfoBuilder<'b>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'b> Debug for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> Debug for GraphicsPipelineCreateInfoBuilder<'b>
Source§impl<'b> Default for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> Default for GraphicsPipelineCreateInfoBuilder<'b>
Source§fn default() -> GraphicsPipelineCreateInfoBuilder<'b>
fn default() -> GraphicsPipelineCreateInfoBuilder<'b>
Returns the “default value” for a type. Read more
Source§impl Deref for GraphicsPipelineCreateInfoBuilder<'_>
impl Deref for GraphicsPipelineCreateInfoBuilder<'_>
Source§impl DerefMut for GraphicsPipelineCreateInfoBuilder<'_>
impl DerefMut for GraphicsPipelineCreateInfoBuilder<'_>
impl<'b> Copy for GraphicsPipelineCreateInfoBuilder<'b>
Auto Trait Implementations§
impl<'b> Freeze for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> RefUnwindSafe for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> Send for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> Sync for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> Unpin for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> UnwindSafe for GraphicsPipelineCreateInfoBuilder<'b>
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