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