Interface VulkanDebuggingType
- All Known Implementing Classes:
VulkanLWJGLDebugging,VulkanLWJGLDebuggingNoOp
public interface VulkanDebuggingType
Debugging operations that can use the functions exposed by extensions
such as VK_EXT_debug_utils internally.
Many operations are silent no-ops if the relevant extensions are not present.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA label color.static interfaceA debugging region in a command buffer. -
Method Summary
Modifier and TypeMethodDescriptionbegin(VulkanCommandBufferType commandBuffer, String label) Open a command buffer debug label region.begin(VulkanCommandBufferType commandBuffer, String label, VulkanDebuggingType.Color color) Open a command buffer debug label region.static VulkanDebuggingType.Colorblack()voidsetObjectName(VulkanHandleType handle, String name) Set the name of the given object.
-
Method Details
-
black
- Returns:
- The opaque black color
-
setObjectName
Set the name of the given object.- Parameters:
handle- The handlename- The name- Throws:
VulkanException- On errors
-
begin
VulkanDebuggingType.VulkanDebugRegionType begin(VulkanCommandBufferType commandBuffer, String label, VulkanDebuggingType.Color color) throws VulkanException Open a command buffer debug label region.- Parameters:
commandBuffer- The command bufferlabel- The region labelcolor- The region color- Returns:
- The region
- Throws:
VulkanException- On errors
-
begin
default VulkanDebuggingType.VulkanDebugRegionType begin(VulkanCommandBufferType commandBuffer, String label) throws VulkanException Open a command buffer debug label region.- Parameters:
commandBuffer- The command bufferlabel- The region label- Returns:
- The region
- Throws:
VulkanException- On errors
-