# vkGetDeferredOperationResultKHR(3) Manual Page

## Name

vkGetDeferredOperationResultKHR - Query the result of a deferred operation

## C Specification

The `vkGetDeferredOperationResultKHR` function is defined as:

    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`. Otherwise, it returns the result of the 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
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

VkDeferredOperationKHR, VkDevice

## 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

Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.