pub struct GraphicsPipelineCreateInfoBuilder<'a> { /* private fields */ }Expand description
Builder for GraphicsPipelineCreateInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> GraphicsPipelineCreateInfoBuilder<'a>
impl<'a> GraphicsPipelineCreateInfoBuilder<'a>
pub fn flags(self, value: PipelineCreateFlags) -> Self
pub fn stages(self, slice: &'a [PipelineShaderStageCreateInfo]) -> Self
pub fn vertex_input_state( self, value: &'a PipelineVertexInputStateCreateInfo, ) -> Self
pub fn input_assembly_state( self, value: &'a PipelineInputAssemblyStateCreateInfo, ) -> Self
pub fn tessellation_state( self, value: &'a PipelineTessellationStateCreateInfo, ) -> Self
pub fn viewport_state(self, value: &'a PipelineViewportStateCreateInfo) -> Self
pub fn rasterization_state( self, value: &'a PipelineRasterizationStateCreateInfo, ) -> Self
pub fn multisample_state( self, value: &'a PipelineMultisampleStateCreateInfo, ) -> Self
pub fn depth_stencil_state( self, value: &'a PipelineDepthStencilStateCreateInfo, ) -> Self
pub fn color_blend_state( self, value: &'a PipelineColorBlendStateCreateInfo, ) -> Self
pub fn dynamic_state(self, value: &'a PipelineDynamicStateCreateInfo) -> Self
pub fn layout(self, value: PipelineLayout) -> Self
pub fn render_pass(self, value: RenderPass) -> Self
pub fn subpass(self, value: u32) -> Self
pub fn base_pipeline_handle(self, value: Pipeline) -> Self
pub fn base_pipeline_index(self, value: i32) -> Self
Sourcepub fn push_next<T: ExtendsGraphicsPipelineCreateInfo>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsGraphicsPipelineCreateInfo>( self, next: &'a mut T, ) -> Self
Prepend a struct to the pNext chain. See GraphicsPipelineCreateInfo’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for GraphicsPipelineCreateInfoBuilder<'a>
impl<'a> Deref for GraphicsPipelineCreateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for GraphicsPipelineCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for GraphicsPipelineCreateInfoBuilder<'a>
impl<'a> !Send for GraphicsPipelineCreateInfoBuilder<'a>
impl<'a> !Sync for GraphicsPipelineCreateInfoBuilder<'a>
impl<'a> Unpin for GraphicsPipelineCreateInfoBuilder<'a>
impl<'a> UnsafeUnpin for GraphicsPipelineCreateInfoBuilder<'a>
impl<'a> UnwindSafe for GraphicsPipelineCreateInfoBuilder<'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