pub struct GraphicsPipelineCreateInfo<'d>(/* private fields */);
Implementations§
Source§impl<'d> GraphicsPipelineCreateInfo<'d>
impl<'d> GraphicsPipelineCreateInfo<'d>
pub fn new( layout: &'d (impl VkHandle<Handle = VkPipelineLayout> + ?Sized), pass: SubpassRef<'d, impl VkHandle<Handle = VkRenderPass> + ?Sized>, stages: &'d [PipelineShaderStage<'d, 'd>], vertex_input_state: &'d PipelineVertexInputStateCreateInfo<'d>, input_assembly_state: &'d PipelineInputAssemblyStateCreateInfo, viewport_state: &'d PipelineViewportStateCreateInfo<'d>, rasterization_state: &'d PipelineRasterizationStateCreateInfo<'d>, color_blend_state: &'d PipelineColorBlendStateCreateInfo<'d>, ) -> Self
pub fn derived_by_handle( parent: &'d (impl VkHandle<Handle = VkPipeline> + ?Sized), ) -> Self
pub const fn derived_by_index(parent: i32) -> Self
pub const unsafe fn from_raw(raw: VkGraphicsPipelineCreateInfo) -> Self
pub const fn into_raw(self) -> VkGraphicsPipelineCreateInfo
pub const fn allow_derivatives(self) -> Self
pub fn set_layout( self, layout: &'d (impl VkHandle<Handle = VkPipelineLayout> + ?Sized), ) -> Self
pub fn set_pass( self, pass: SubpassRef<'d, impl VkHandle<Handle = VkRenderPass> + ?Sized>, ) -> Self
pub const fn set_stages(self, stages: &'d [PipelineShaderStage<'d, 'd>]) -> Self
pub const fn set_vertex_input_state( self, state: &'d PipelineVertexInputStateCreateInfo<'d>, ) -> Self
pub const fn set_input_assembly_state( self, state: &'d PipelineInputAssemblyStateCreateInfo, ) -> Self
pub const fn set_tessellation_state( self, state: &'d PipelineTessellationStateCreateInfo, ) -> Self
pub const fn set_viewport_state( self, state: &'d PipelineViewportStateCreateInfo<'d>, ) -> Self
pub const fn set_rasterization_state( self, state: &'d PipelineRasterizationStateCreateInfo<'d>, ) -> Self
pub const fn set_multisample_state( self, state: &'d PipelineMultisampleStateCreateInfo<'d>, ) -> Self
pub const fn set_depth_stencil_state( self, state: &'d PipelineDepthStencilStateCreateInfo, ) -> Self
pub const fn set_color_blend_state( self, state: &'d PipelineColorBlendStateCreateInfo<'d>, ) -> Self
pub const fn set_dynamic_state( self, states: &'d PipelineDynamicStateCreateInfo<'_>, ) -> Self
Trait Implementations§
Source§impl<'d> Clone for GraphicsPipelineCreateInfo<'d>
impl<'d> Clone for GraphicsPipelineCreateInfo<'d>
Source§fn clone(&self) -> GraphicsPipelineCreateInfo<'d>
fn clone(&self) -> GraphicsPipelineCreateInfo<'d>
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 moreAuto Trait Implementations§
impl<'d> Freeze for GraphicsPipelineCreateInfo<'d>
impl<'d> !RefUnwindSafe for GraphicsPipelineCreateInfo<'d>
impl<'d> !Send for GraphicsPipelineCreateInfo<'d>
impl<'d> !Sync for GraphicsPipelineCreateInfo<'d>
impl<'d> Unpin for GraphicsPipelineCreateInfo<'d>
impl<'d> !UnwindSafe for GraphicsPipelineCreateInfo<'d>
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