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,
// Provided by extensions
VK_QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHR = 999999000,
} VkQueryResultStatusKHR;
pub struct QueryResultStatusKHR(u32);
impl QueryResultStatusKHR {
pub const ERROR: Self = -1;
pub const NOT_READY: Self = 0;
pub const COMPLETE: Self = 1;
pub const INSUFFICIENTSTREAM_BUFFER_RANGE: Self = 999999000;
}
VK_QUERY_RESULT_STATUS_NOT_READY_KHRspecifies that the query result is not yet available.VK_QUERY_RESULT_STATUS_ERROR_KHRspecifies that operations did not complete successfully.VK_QUERY_RESULT_STATUS_COMPLETE_KHRspecifies that operations completed successfully and the query result is available.VK_QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHRspecifies 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.
Parent
VK_KHR_video_queueType
Enum