Struct ash::vk::PipelineCacheHeaderVersionOneBuilder
source · #[repr(transparent)]pub struct PipelineCacheHeaderVersionOneBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PipelineCacheHeaderVersionOneBuilder<'a>
impl<'a> PipelineCacheHeaderVersionOneBuilder<'a>
pub fn header_size(self, header_size: u32) -> Self
pub fn header_version(self, header_version: PipelineCacheHeaderVersion) -> Self
pub fn vendor_id(self, vendor_id: u32) -> Self
pub fn device_id(self, device_id: u32) -> Self
pub fn pipeline_cache_uuid(self, pipeline_cache_uuid: [u8; 16]) -> Self
sourcepub fn build(self) -> PipelineCacheHeaderVersionOne
pub fn build(self) -> PipelineCacheHeaderVersionOne
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.