C Specification

The vkGetDeferredOperationResultKHR function is defined as:

// Provided by VK_KHR_deferred_host_operations
VkResult vkGetDeferredOperationResultKHR(
    VkDevice                                    device,
    VkDeferredOperationKHR                      operation);

Parameters

  • device is the device which owns operation.

  • operation is the operation whose deferred result is being queried.

Description

If the deferred operation is pending, vkGetDeferredOperationResultKHR returns VK_NOT_READY.

If no command has been deferred on operation, vkGetDeferredOperationResultKHR returns VK_SUCCESS.

Otherwise, it returns the result of the previous deferred operation. This value must be one of the VkResult values which could have been returned by the original command if the operation had not been deferred.

Valid Usage (Implicit)
  • device must be a valid VkDevice handle

  • operation must be a valid VkDeferredOperationKHR handle

  • operation must have been created, allocated, or retrieved from device

Return Codes
On success, this command returns
  • VK_SUCCESS

  • VK_NOT_READY

See Also

Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright (c) 2014-2020 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0