Struct screen_13::prelude::vk::PipelineLayoutCreateInfoBuilder
source · pub struct PipelineLayoutCreateInfoBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> PipelineLayoutCreateInfoBuilder<'a>
impl<'a> PipelineLayoutCreateInfoBuilder<'a>
pub fn flags(
self,
flags: PipelineLayoutCreateFlags
) -> PipelineLayoutCreateInfoBuilder<'a>
pub fn set_layouts(
self,
set_layouts: &'a [DescriptorSetLayout]
) -> PipelineLayoutCreateInfoBuilder<'a>
pub fn push_constant_ranges(
self,
push_constant_ranges: &'a [PushConstantRange]
) -> PipelineLayoutCreateInfoBuilder<'a>
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>
§type Target = PipelineLayoutCreateInfo
type Target = PipelineLayoutCreateInfo
The resulting type after dereferencing.