Class VulkanDebug.Enabled
java.lang.Object
com.mojang.blaze3d.vulkan.VulkanDebug.Enabled
- All Implemented Interfaces:
VulkanDebug
- Enclosing interface:
VulkanDebug
-
Nested Class Summary
Nested classes/interfaces inherited from interface VulkanDebug
VulkanDebug.Disabled, VulkanDebug.Enabled -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int[]private static final org.slf4j.Loggerstatic final intprivate longprivate final intprivate static final StackWalkerprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeginDebugGroup(VkCommandBuffer buffer, Supplier<String> label) voidchainCreateInfo(VkInstanceCreateInfo instanceCreateInfo, MemoryStack stack) voiddestroy(VkInstance instance) booleanenabled()voidendDebugGroup(VkCommandBuffer buffer) private intonDebugMessage(int messageSeverity, int messageTypes, long pCallbackData, long pUserData) voidsetObjectName(VkDevice device, int objectType, long objectHandle, String label) voidsetObjectName(VkDevice device, int objectType, long objectHandle, Supplier<String> label) voidsetup(VkInstance vkInstance)
-
Field Details
-
STACK_WALKER
-
LOGGER
private static final org.slf4j.Logger LOGGER -
MESSAGE_TYPE_BITMASK
public static final int MESSAGE_TYPE_BITMASK- See Also:
-
DEBUG_LEVELS
private static final int[] DEBUG_LEVELS -
wantsDebugLabels
private final boolean wantsDebugLabels -
messenger
private long messenger -
severityBitmask
private final int severityBitmask
-
-
Constructor Details
-
Enabled
public Enabled(int verbosity, boolean wantsDebugLabels)
-
-
Method Details
-
chainCreateInfo
- Specified by:
chainCreateInfoin interfaceVulkanDebug
-
setup
- Specified by:
setupin interfaceVulkanDebug
-
setObjectName
- Specified by:
setObjectNamein interfaceVulkanDebug
-
setObjectName
public void setObjectName(VkDevice device, int objectType, long objectHandle, Supplier<String> label) - Specified by:
setObjectNamein interfaceVulkanDebug
-
onDebugMessage
private int onDebugMessage(int messageSeverity, int messageTypes, long pCallbackData, long pUserData) -
beginDebugGroup
- Specified by:
beginDebugGroupin interfaceVulkanDebug
-
endDebugGroup
- Specified by:
endDebugGroupin interfaceVulkanDebug
-
destroy
- Specified by:
destroyin interfaceVulkanDebug
-
enabled
public boolean enabled()- Specified by:
enabledin interfaceVulkanDebug
-