Struct ash::vk::PresentRegionsKHRBuilder
source · #[repr(transparent)]pub struct PresentRegionsKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PresentRegionsKHRBuilder<'a>
impl<'a> PresentRegionsKHRBuilder<'a>
pub fn regions(self, regions: &'a [PresentRegionKHR]) -> Self
sourcepub fn build(self) -> PresentRegionsKHR
pub fn build(self) -> PresentRegionsKHR
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.