Package org.lwjgl.vulkan
Class VkDebugReportCallbackEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Callback
-
- org.lwjgl.vulkan.VkDebugReportCallbackEXT
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, CallbackI, CallbackI.I, NativeResource, Pointer, VkDebugReportCallbackEXTI
public abstract class VkDebugReportCallbackEXT extends Callback implements VkDebugReportCallbackEXTI
Instances of this class may be set to thepfnCallback
member of theVkDebugReportCallbackCreateInfoEXT
struct.A callback will be made for issues that match any bit set in its flags. The callback will come directly from the component that detected the event, unless some other layer intercepts the calls for its own purposes (filter them in different way, log to system error log, etc.) An application may receive multiple callbacks if multiple
VkDebugReportCallbackEXT
objects were created. A callback will always be executed in the same thread as the originating Vulkan call. A callback may be called from multiple threads simultaneously (if the application is making Vulkan calls from multiple threads).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static VkDebugReportCallbackEXT
create(long functionPointer)
Creates aVkDebugReportCallbackEXT
instance from the specified function pointer.static VkDebugReportCallbackEXT
create(VkDebugReportCallbackEXTI instance)
Creates aVkDebugReportCallbackEXT
instance that delegates to the specifiedVkDebugReportCallbackEXTI
instance.static java.lang.String
getString(long string)
Converts the specifiedVkDebugReportCallbackEXT
argument to a String.-
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Methods inherited from interface org.lwjgl.vulkan.VkDebugReportCallbackEXTI
address, callback, invoke
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Method Detail
-
create
public static VkDebugReportCallbackEXT create(long functionPointer)
Creates aVkDebugReportCallbackEXT
instance from the specified function pointer.
-
create
public static VkDebugReportCallbackEXT create(VkDebugReportCallbackEXTI instance)
Creates aVkDebugReportCallbackEXT
instance that delegates to the specifiedVkDebugReportCallbackEXTI
instance.
-
getString
public static java.lang.String getString(long string)
Converts the specifiedVkDebugReportCallbackEXT
argument to a String.This method may only be used inside a
VkDebugReportCallbackEXT
invocation.- Parameters:
string
- the argument to decode- Returns:
- the message as a String
-
-