vulkan-rust 0.10.0

Ergonomic Vulkan bindings for Rust, generated from vk.xml
Documentation
#![allow(unused_imports)]
#![allow(clippy::too_many_arguments)]
use crate::error::{VkResult, check, enumerate_two_call, fill_two_call};
use crate::vk::*;
impl crate::Entry {
    ///Wraps [`vkGetExternalComputeQueueDataNV`](https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExternalComputeQueueDataNV.html).
    /**
    Provided by **VK_NV_external_compute_queue**.*/
    ///
    ///# Safety
    ///- `externalQueue` (self) must be valid and not destroyed.
    ///
    ///# Panics
    ///Panics if `vkGetExternalComputeQueueDataNV` was not loaded. This can happen if the required extension or Vulkan version is not enabled on the instance or device.
    ///
    ///# Usage Notes
    ///
    ///Retrieves data from an external compute queue, allowing the
    ///application to read back results or state produced by work
    ///submitted outside the Vulkan runtime.
    ///
    ///Requires `VK_NV_external_compute_queue`.
    pub unsafe fn get_external_compute_queue_data_nv(
        &self,
        external_queue: ExternalComputeQueueNV,
        params: &mut ExternalComputeQueueDataParamsNV,
    ) -> core::ffi::c_void {
        let fp = self
            .commands()
            .get_external_compute_queue_data_nv
            .expect("vkGetExternalComputeQueueDataNV not loaded");
        let mut out = unsafe { core::mem::zeroed() };
        unsafe { fp(external_queue, params, &mut out) };
        out
    }
}