Struct ash::vk::SpecializationMapEntryBuilder
source · #[repr(transparent)]pub struct SpecializationMapEntryBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SpecializationMapEntryBuilder<'a>
impl<'a> SpecializationMapEntryBuilder<'a>
pub fn constant_id(self, constant_id: u32) -> Self
pub fn offset(self, offset: u32) -> Self
pub fn size(self, size: usize) -> Self
sourcepub fn build(self) -> SpecializationMapEntry
pub fn build(self) -> SpecializationMapEntry
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.