Struct vulkanalia::vk::GraphicsPipelineCreateInfoBuilder
source · #[repr(transparent)]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<'b> Cast for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> Cast for GraphicsPipelineCreateInfoBuilder<'b>
§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 copy 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<'b> Deref for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> Deref for GraphicsPipelineCreateInfoBuilder<'b>
source§impl<'b> DerefMut for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> DerefMut for GraphicsPipelineCreateInfoBuilder<'b>
impl<'b> Copy for GraphicsPipelineCreateInfoBuilder<'b>
Auto Trait Implementations§
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