Struct ash::extensions::khr::ExternalSemaphoreFd
source · pub struct ExternalSemaphoreFd { /* private fields */ }
Implementations§
source§impl ExternalSemaphoreFd
impl ExternalSemaphoreFd
pub fn new(instance: &Instance, device: &Device) -> Self
sourcepub unsafe fn import_semaphore_fd(
&self,
import_info: &ImportSemaphoreFdInfoKHR
) -> VkResult<()>
pub unsafe fn import_semaphore_fd( &self, import_info: &ImportSemaphoreFdInfoKHR ) -> VkResult<()>
sourcepub unsafe fn get_semaphore_fd(
&self,
get_info: &SemaphoreGetFdInfoKHR
) -> VkResult<i32>
pub unsafe fn get_semaphore_fd( &self, get_info: &SemaphoreGetFdInfoKHR ) -> VkResult<i32>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrExternalSemaphoreFdFn
pub fn device(&self) -> Device
Trait Implementations§
source§impl Clone for ExternalSemaphoreFd
impl Clone for ExternalSemaphoreFd
source§fn clone(&self) -> ExternalSemaphoreFd
fn clone(&self) -> ExternalSemaphoreFd
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more