Function Prototype
vkCreateDeferredOperationKHR
Create a deferred operation handle
To construct the tracking object for a deferred command, call:
VkResult vkCreateDeferredOperationKHR(
VkDevice device,
const VkAllocationCallbacks* pAllocator,
VkDeferredOperationKHR* pDeferredOperation);
pub fn create_deferred_operation_khr(
device: vk::Device,
p_allocator: *const vk::AllocationCallbacks,
p_deferred_operation: *mut vk::DeferredOperationKHR,
) -> vk::Result;
deviceis the device which ownsoperation.pAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.pDeferredOperationis a pointer to a handle in which the created VkDeferredOperationKHR is returned.
Valid Usage (Implicit)
VUID-vkCreateDeferredOperationKHR-device-parameter
device must be a valid VkDevice handle
VUID-vkCreateDeferredOperationKHR-pAllocator-parameter
If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure
VUID-vkCreateDeferredOperationKHR-pDeferredOperation-parameter
pDeferredOperation must be a valid pointer to a VkDeferredOperationKHR handle
VUID-vkCreateDeferredOperationKHR-device-queuecount
The device must have been created with at least 1 queue
Type
Function Prototype
Return Values
VK_SUCCESS
VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_UNKNOWN
VK_ERROR_VALIDATION_FAILED