Struct ash::vk::DisplaySurfaceCreateInfoKHRBuilder
source · #[repr(transparent)]pub struct DisplaySurfaceCreateInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> DisplaySurfaceCreateInfoKHRBuilder<'a>
impl<'a> DisplaySurfaceCreateInfoKHRBuilder<'a>
pub fn flags(self, flags: DisplaySurfaceCreateFlagsKHR) -> Self
pub fn display_mode(self, display_mode: DisplayModeKHR) -> Self
pub fn plane_index(self, plane_index: u32) -> Self
pub fn plane_stack_index(self, plane_stack_index: u32) -> Self
pub fn transform(self, transform: SurfaceTransformFlagsKHR) -> Self
pub fn global_alpha(self, global_alpha: f32) -> Self
pub fn alpha_mode(self, alpha_mode: DisplayPlaneAlphaFlagsKHR) -> Self
pub fn image_extent(self, image_extent: Extent2D) -> Self
sourcepub fn build(self) -> DisplaySurfaceCreateInfoKHR
pub fn build(self) -> DisplaySurfaceCreateInfoKHR
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.