Interface GLDebugMessageAMDCallbackI

    • Method Detail

      • address

        default long address()
        Description copied from interface: Pointer
        Returns the raw pointer address as a long value.
        Specified by:
        address in interface Pointer
        Returns:
        the pointer address
      • callback

        default void callback(long args)
        Description copied from interface: CallbackI.V
        Will be called by native code.
        Specified by:
        callback in interface CallbackI.V
        Parameters:
        args - pointer to a DCArgs iterator
      • invoke

        void invoke(int id,
                    int category,
                    int severity,
                    int length,
                    long message,
                    long userParam)
        Will be called when a debug message is generated.
        Parameters:
        id - the message ID
        category - the message category
        severity - the message severity
        length - the message length, excluding the null-terminator
        message - a pointer to the message string representation
        userParam - the user-specified value that was passed when calling DebugMessageCallbackAMD