Interface BGFXTraceVarArgsCallbackI

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

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

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


     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
        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
        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.
        _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