Struct ash::vk::ImportSemaphoreWin32HandleInfoKHRBuilder
source · #[repr(transparent)]pub struct ImportSemaphoreWin32HandleInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
impl<'a> ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
pub fn semaphore(self, semaphore: Semaphore) -> Self
pub fn flags(self, flags: SemaphoreImportFlags) -> Self
pub fn handle_type(self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self
pub fn handle(self, handle: HANDLE) -> Self
pub fn name(self, name: LPCWSTR) -> Self
sourcepub fn build(self) -> ImportSemaphoreWin32HandleInfoKHR
pub fn build(self) -> ImportSemaphoreWin32HandleInfoKHR
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.