Class 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 the pfnCallback member of the VkDebugReportCallbackCreateInfoEXT 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).

    • Method Detail

      • create

        public static VkDebugReportCallbackEXT create(long functionPointer)
        Creates a VkDebugReportCallbackEXT instance from the specified function pointer.
      • getString

        public static java.lang.String getString(long string)
        Converts the specified VkDebugReportCallbackEXT 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