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