pub struct PipelineLayoutCreateInfoBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PipelineLayoutCreateInfoBuilder<'a>
impl<'a> PipelineLayoutCreateInfoBuilder<'a>
pub fn flags(self, flags: PipelineLayoutCreateFlags) -> Self
pub fn set_layouts(self, set_layouts: &'a [DescriptorSetLayout]) -> Self
pub fn push_constant_ranges( self, push_constant_ranges: &'a [PushConstantRange], ) -> Self
Sourcepub fn build(self) -> PipelineLayoutCreateInfo
pub fn build(self) -> PipelineLayoutCreateInfo
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for PipelineLayoutCreateInfoBuilder<'a>
impl<'a> Deref for PipelineLayoutCreateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PipelineLayoutCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for PipelineLayoutCreateInfoBuilder<'a>
impl<'a> !Send for PipelineLayoutCreateInfoBuilder<'a>
impl<'a> !Sync for PipelineLayoutCreateInfoBuilder<'a>
impl<'a> Unpin for PipelineLayoutCreateInfoBuilder<'a>
impl<'a> UnwindSafe for PipelineLayoutCreateInfoBuilder<'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