Struct screen_13::prelude::vk::PipelineCacheCreateInfoBuilder
source · pub struct PipelineCacheCreateInfoBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> PipelineCacheCreateInfoBuilder<'a>
impl<'a> PipelineCacheCreateInfoBuilder<'a>
pub fn flags(
self,
flags: PipelineCacheCreateFlags
) -> PipelineCacheCreateInfoBuilder<'a>
pub fn initial_data(
self,
initial_data: &'a [u8]
) -> PipelineCacheCreateInfoBuilder<'a>
sourcepub fn build(self) -> PipelineCacheCreateInfo
pub fn build(self) -> PipelineCacheCreateInfo
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 PipelineCacheCreateInfoBuilder<'a>
impl<'a> Deref for PipelineCacheCreateInfoBuilder<'a>
§type Target = PipelineCacheCreateInfo
type Target = PipelineCacheCreateInfo
The resulting type after dereferencing.