Struct ash::vk::DisplayPresentInfoKHRBuilder
source · #[repr(transparent)]pub struct DisplayPresentInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> DisplayPresentInfoKHRBuilder<'a>
impl<'a> DisplayPresentInfoKHRBuilder<'a>
pub fn src_rect(self, src_rect: Rect2D) -> Self
pub fn dst_rect(self, dst_rect: Rect2D) -> Self
pub fn persistent(self, persistent: bool) -> Self
sourcepub fn build(self) -> DisplayPresentInfoKHR
pub fn build(self) -> DisplayPresentInfoKHR
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.