Struct ash::vk::PipelineCacheCreateInfoBuilder
source · #[repr(transparent)]pub struct PipelineCacheCreateInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PipelineCacheCreateInfoBuilder<'a>
impl<'a> PipelineCacheCreateInfoBuilder<'a>
pub fn flags(self, flags: PipelineCacheCreateFlags) -> Self
pub fn initial_data(self, initial_data: &'a [u8]) -> Self
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.