Struct ash::vk::ImportMemoryFdInfoKHRBuilder
source · #[repr(transparent)]pub struct ImportMemoryFdInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImportMemoryFdInfoKHRBuilder<'a>
impl<'a> ImportMemoryFdInfoKHRBuilder<'a>
pub fn handle_type(self, handle_type: ExternalMemoryHandleTypeFlags) -> Self
pub fn fd(self, fd: c_int) -> Self
sourcepub fn build(self) -> ImportMemoryFdInfoKHR
pub fn build(self) -> ImportMemoryFdInfoKHR
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.