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) -> Result
acquire_image_android: extern "system" fn(device: Device, image: Image, native_fence_fd: c_int, semaphore: Semaphore, fence: Fence) -> Result
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
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
Implementations
pub unsafe fn get_swapchain_gralloc_usage_android(
&self,
device: Device,
format: Format,
image_usage: ImageUsageFlags,
gralloc_usage: *mut c_int
) -> Result
pub unsafe fn get_swapchain_gralloc_usage_android(
&self,
device: Device,
format: Format,
image_usage: ImageUsageFlags,
gralloc_usage: *mut c_int
) -> Result
pub unsafe fn get_swapchain_gralloc_usage2_android(
&self,
device: Device,
format: Format,
image_usage: ImageUsageFlags,
swapchain_image_usage: SwapchainImageUsageFlagsANDROID,
gralloc_consumer_usage: *mut u64,
gralloc_producer_usage: *mut u64
) -> Result
pub unsafe fn get_swapchain_gralloc_usage2_android(
&self,
device: Device,
format: Format,
image_usage: ImageUsageFlags,
swapchain_image_usage: SwapchainImageUsageFlagsANDROID,
gralloc_consumer_usage: *mut u64,
gralloc_producer_usage: *mut u64
) -> Result
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AndroidNativeBufferFn
impl Unpin for AndroidNativeBufferFn
impl UnwindSafe for AndroidNativeBufferFn
Blanket Implementations
Mutably borrows from an owned value. Read more