Enum

VkQueryResultStatusKHR

Specific status codes for operations

Specific status codes that can be returned from a query are:

typedef enum VkQueryResultStatusKHR {
    VK_QUERY_RESULT_STATUS_ERROR_KHR = -1,
    VK_QUERY_RESULT_STATUS_NOT_READY_KHR = 0,
    VK_QUERY_RESULT_STATUS_COMPLETE_KHR = 1,
} VkQueryResultStatusKHR;
  • VK_QUERY_RESULT_STATUS_NOT_READY_KHR indicates that the query result is not yet available.
  • VK_QUERY_RESULT_STATUS_ERROR_KHR indicates that operations did not complete successfully.
  • VK_QUERY_RESULT_STATUS_COMPLETE_KHR indicates that operations completed successfully and the query result is available.
  • VK_QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHR indicates that a video encode operation did not complete successfully due to the destination video bitstream buffer range not being sufficiently large to fit the encoded bitstream data.