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