pub struct ComputePipelineCreateInfo<'d>(/* private fields */);
Expand description
Structure specifying parameters of a newly created compute pipeline
Implementations§
Source§impl<'d> ComputePipelineCreateInfo<'d>
impl<'d> ComputePipelineCreateInfo<'d>
pub fn new( layout: &'d (impl VkHandle<Handle = VkPipelineLayout> + ?Sized), stage: PipelineShaderStage<'d, 'd>, ) -> Self
pub fn derived_by_handle( parent: &'d (impl VkHandle<Handle = VkPipeline> + ?Sized), ) -> Self
pub fn derived_by_index(parent: i32) -> Self
pub const unsafe fn from_raw(raw: VkComputePipelineCreateInfo) -> Self
pub const fn into_raw(self) -> VkComputePipelineCreateInfo
pub const fn allow_derivatives(self) -> Self
pub const fn set_stage(self, stage: PipelineShaderStage<'d, 'd>) -> Self
pub fn set_layout( self, layout: &'d (impl VkHandle<Handle = VkPipelineLayout> + ?Sized), ) -> Self
Trait Implementations§
Source§impl<'d> Clone for ComputePipelineCreateInfo<'d>
impl<'d> Clone for ComputePipelineCreateInfo<'d>
Source§fn clone(&self) -> ComputePipelineCreateInfo<'d>
fn clone(&self) -> ComputePipelineCreateInfo<'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 ComputePipelineCreateInfo<'d>
impl<'d> !RefUnwindSafe for ComputePipelineCreateInfo<'d>
impl<'d> !Send for ComputePipelineCreateInfo<'d>
impl<'d> !Sync for ComputePipelineCreateInfo<'d>
impl<'d> Unpin for ComputePipelineCreateInfo<'d>
impl<'d> !UnwindSafe for ComputePipelineCreateInfo<'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