Struct ash::vk::MacOSSurfaceCreateInfoMVKBuilder
source · #[repr(transparent)]pub struct MacOSSurfaceCreateInfoMVKBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> MacOSSurfaceCreateInfoMVKBuilder<'a>
impl<'a> MacOSSurfaceCreateInfoMVKBuilder<'a>
pub fn flags(self, flags: MacOSSurfaceCreateFlagsMVK) -> Self
pub fn view(self, view: *const c_void) -> Self
sourcepub fn build(self) -> MacOSSurfaceCreateInfoMVK
pub fn build(self) -> MacOSSurfaceCreateInfoMVK
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.