public abstract class VkDebugReportCallbackEXT extends org.lwjgl.system.Callback implements VkDebugReportCallbackEXTI
The prototype for the VkDebugReportCallbackCreateInfoEXT::pfnCallback function implemented by the application is:
typedef VkBool32 (VKAPI_PTR *PFN_vkDebugReportCallbackEXT)(
VkDebugReportFlagsEXT flags,
VkDebugReportObjectTypeEXT objectType,
uint64_t object,
size_t location,
int32_t messageCode,
const char* pLayerPrefix,
const char* pMessage,
void* pUserData);
The callback must not call vkDestroyDebugReportCallbackEXT.
The callback returns a VkBool32, which is interpreted in a layer-specified manner. The application should always return FALSE. The TRUE value is reserved for use in layer development.
object must be a Vulkan object or NULL_HANDLE. If objectType is not DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT and object is not NULL_HANDLE, object must be a Vulkan object of the corresponding type associated with objectType as defined in VkDebugReportObjectTypeEXT and Vulkan Handle Relationship.
org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.N, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.ZSIGNATURE| Modifier and Type | Method and Description |
|---|---|
static VkDebugReportCallbackEXT |
create(long functionPointer)
Creates a
VkDebugReportCallbackEXT instance from the specified function pointer. |
static VkDebugReportCallbackEXT |
create(VkDebugReportCallbackEXTI instance)
Creates a
VkDebugReportCallbackEXT instance that delegates to the specified VkDebugReportCallbackEXTI instance. |
static VkDebugReportCallbackEXT |
createSafe(long functionPointer)
|
static java.lang.String |
getString(long string)
Converts the specified
VkDebugReportCallbackEXT argument to a String. |
__stdcall, address, equals, free, free, get, getSafe, hashCode, toStringcallback, getSignature, invokepublic static VkDebugReportCallbackEXT create(long functionPointer)
VkDebugReportCallbackEXT instance from the specified function pointer.VkDebugReportCallbackEXT@Nullable public static VkDebugReportCallbackEXT createSafe(long functionPointer)
public static VkDebugReportCallbackEXT create(VkDebugReportCallbackEXTI instance)
VkDebugReportCallbackEXT instance that delegates to the specified VkDebugReportCallbackEXTI instance.public static java.lang.String getString(long string)
VkDebugReportCallbackEXT argument to a String.
This method may only be used inside a VkDebugReportCallbackEXT invocation.
string - the argument to decodeCopyright LWJGL. All Rights Reserved. License terms.