Interface VulkanDebugUtilsType
- All Superinterfaces:
VulkanExtensionType
- All Known Implementing Classes:
VulkanLWJGLExtDebugUtils
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VulkanDebugUtilsLabelColorThe default label color. -
Method Summary
Modifier and TypeMethodDescriptionbegin(VulkanCommandBufferType commandBuffer, VulkanDebugUtilsLabelEXT label) Open a command buffer debug label region.default VulkanDebugUtilsRegionTypebegin(VulkanCommandBufferType commandBuffer, String label) Open a command buffer debug label region.Create a debug messenger object.voidinsertInto(VulkanCommandBufferType commandBuffer, VulkanDebugUtilsLabelEXT label) Insert a debug label into a command buffer.default voidinsertInto(VulkanCommandBufferType commandBuffer, String label) Insert a debug label into a command buffer.default Stringname()voidSet the name of a given object.Methods inherited from interface VulkanExtensionType
extraNames
-
Field Details
-
DEFAULT_LABEL_COLOR
The default label color.
-
-
Method Details
-
name
- Specified by:
namein interfaceVulkanExtensionType- Returns:
- The name of the extension (such as "VK_KHR_Surface")
-
createDebugUtilsMessenger
VulkanDebugUtilsMessengerEXTType createDebugUtilsMessenger(VulkanInstanceType instance, VulkanDebugUtilsMessengerCreateInfoEXT info) throws VulkanException Create a debug messenger object.- Parameters:
instance- The instanceinfo- The creation info- Returns:
- A messenger
- Throws:
VulkanException- On errors
-
begin
VulkanDebugUtilsRegionType begin(VulkanCommandBufferType commandBuffer, VulkanDebugUtilsLabelEXT label) throws VulkanException Open a command buffer debug label region.- Parameters:
commandBuffer- The command bufferlabel- The region label- Returns:
- The section
- Throws:
VulkanException- On errors
-
begin
default VulkanDebugUtilsRegionType begin(VulkanCommandBufferType commandBuffer, String label) throws VulkanException Open a command buffer debug label region.- Parameters:
commandBuffer- The command bufferlabel- The region label- Returns:
- The section
- Throws:
VulkanException- On errors
-
insertInto
void insertInto(VulkanCommandBufferType commandBuffer, VulkanDebugUtilsLabelEXT label) throws VulkanException Insert a debug label into a command buffer.- Parameters:
commandBuffer- The command bufferlabel- The label- Throws:
VulkanException- On errors
-
insertInto
Insert a debug label into a command buffer.- Parameters:
commandBuffer- The command bufferlabel- The label- Throws:
VulkanException- On errors
-
setObjectName
void setObjectName(VulkanLogicalDeviceType device, VulkanDebugUtilsObjectNameInfoEXT info) throws VulkanException Set the name of a given object.- Parameters:
device- The logical deviceinfo- The info- Throws:
VulkanException- On errors
-