Skip to main content

get_device_queue2

Function get_device_queue2 

Source
pub unsafe fn get_device_queue2(
    device: &Device,
    queue_info: &DeviceQueueInfo2,
    queue: &mut Queue,
) -> Result<(), CallError>
Expand description

Call vkGetDeviceQueue2 using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetDeviceQueue2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.