Struct ash::vk::AndroidNativeBufferFn[][src]

pub struct AndroidNativeBufferFn {
    pub get_swapchain_gralloc_usage_android: extern "system" fn(device: Device, format: Format, image_usage: ImageUsageFlags, gralloc_usage: *mut c_int) -> Result,
    pub acquire_image_android: extern "system" fn(device: Device, image: Image, native_fence_fd: c_int, semaphore: Semaphore, fence: Fence) -> Result,
    pub queue_signal_release_image_android: extern "system" fn(queue: Queue, wait_semaphore_count: u32, p_wait_semaphores: *const Semaphore, image: Image, p_native_fence_fd: *mut c_int) -> Result,
    pub get_swapchain_gralloc_usage2_android: extern "system" fn(device: Device, format: Format, image_usage: ImageUsageFlags, swapchain_image_usage: SwapchainImageUsageFlagsANDROID, gralloc_consumer_usage: *mut u64, gralloc_producer_usage: *mut u64) -> Result,
}

Fields

get_swapchain_gralloc_usage_android: extern "system" fn(device: Device, format: Format, image_usage: ImageUsageFlags, gralloc_usage: *mut c_int) -> Resultacquire_image_android: extern "system" fn(device: Device, image: Image, native_fence_fd: c_int, semaphore: Semaphore, fence: Fence) -> Resultqueue_signal_release_image_android: extern "system" fn(queue: Queue, wait_semaphore_count: u32, p_wait_semaphores: *const Semaphore, image: Image, p_native_fence_fd: *mut c_int) -> Resultget_swapchain_gralloc_usage2_android: extern "system" fn(device: Device, format: Format, image_usage: ImageUsageFlags, swapchain_image_usage: SwapchainImageUsageFlagsANDROID, gralloc_consumer_usage: *mut u64, gralloc_producer_usage: *mut u64) -> Result

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.