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