Enum
VkToolPurposeFlagBits
Bitmask specifying the purposes of an active tool
Bits which can be set in
VkPhysicalDeviceToolProperties::purposes, specifying the
purposes of an active tool, are:
typedef enum VkToolPurposeFlagBits {
VK_TOOL_PURPOSE_VALIDATION_BIT = 0x00000001,
VK_TOOL_PURPOSE_PROFILING_BIT = 0x00000002,
VK_TOOL_PURPOSE_TRACING_BIT = 0x00000004,
VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT = 0x00000008,
VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT = 0x00000010,
// Provided by extensions
VK_TOOL_PURPOSE_VALIDATION_BIT_EXT = VK_TOOL_PURPOSE_VALIDATION_BIT,
VK_TOOL_PURPOSE_PROFILING_BIT_EXT = VK_TOOL_PURPOSE_PROFILING_BIT,
VK_TOOL_PURPOSE_TRACING_BIT_EXT = VK_TOOL_PURPOSE_TRACING_BIT,
VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT = VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT,
VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT = VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT,
VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXT = 0x00000020,
VK_TOOL_PURPOSE_DEBUG_MARKERS_BIT_EXT = 0x00000040,
} VkToolPurposeFlagBits;
pub struct ToolPurposeFlagBits(u32);
impl ToolPurposeFlagBits {
pub const VALIDATION: Self = 0x00000001;
pub const PROFILING: Self = 0x00000002;
pub const TRACING: Self = 0x00000004;
pub const ADDITIONAL_FEATURES: Self = 0x00000008;
pub const MODIFYING_FEATURES: Self = 0x00000010;
pub const VALIDATION_EXT: Self = Self::VALIDATION;
pub const PROFILING_EXT: Self = Self::PROFILING;
pub const TRACING_EXT: Self = Self::TRACING;
pub const ADDITIONAL_FEATURES_EXT: Self = Self::ADDITIONAL_FEATURES;
pub const MODIFYING_FEATURES_EXT: Self = Self::MODIFYING_FEATURES;
pub const DEBUG_REPORTING_EXT: Self = 0x00000020;
pub const DEBUG_MARKERS_EXT: Self = 0x00000040;
}
#define VkToolPurposeFlagBitsEXT VkToolPurposeFlagBits
const ToolPurposeFlagBitsEXT: _ = vk::ToolPurposeFlagBits;
VK_TOOL_PURPOSE_VALIDATION_BITspecifies that the tool provides validation of API usage.VK_TOOL_PURPOSE_PROFILING_BITspecifies that the tool provides profiling of API usage.VK_TOOL_PURPOSE_TRACING_BITspecifies that the tool is capturing data about the application’s API usage, including anything from simple logging to capturing data for later replay.VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BITspecifies that the tool provides additional API features/extensions on top of the underlying implementation.VK_TOOL_PURPOSE_MODIFYING_FEATURES_BITspecifies that the tool modifies the API features/limits/extensions presented to the application.VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXTspecifies that the tool reports additional information to the application via callbacks specified by vkCreateDebugReportCallbackEXT or vkCreateDebugUtilsMessengerEXTVK_TOOL_PURPOSE_DEBUG_MARKERS_BIT_EXTspecifies that the tool consumes debug markers or object debug annotation, queue labels, or command buffer labels
Parent
VK_VERSION_1_3Type
Enum