Interface BGFXTraceVarArgsCallbackI

  • All Superinterfaces:
    CallbackI, CallbackI.V, Pointer
    All Known Implementing Classes:
    BGFXTraceVarArgsCallback
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface BGFXTraceVarArgsCallbackI
    extends CallbackI.V
    Prints a debug message.

    Not thread safe and it can be called from any thread.

    Type

    
     void (*) (
         bgfx_callback_interface_t *_this,
         char const *_filePath,
         uint16_t _line,
         char const *_format,
         va_list _argList
     )
    • Method Detail

      • getSignature

        default java.lang.String getSignature()
        Description copied from interface: CallbackI
        Returns the dyncall signature for this callback function. [INTERNAL API]
        Specified by:
        getSignature in interface CallbackI
        Returns:
        the dyncall signature
      • 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​(long _this,
                    long _filePath,
                    short _line,
                    long _format,
                    long _argList)
        Will be called when a debug message is produced.
        Parameters:
        _this - the callback interface
        _filePath - file path where debug message was generated
        _line - line where debug message was generated
        _format - printf style format
        _argList - variable arguments list initialized with va_start