Interface BGFXProfilerBeginLiteralI

  • All Superinterfaces:
    CallbackI, CallbackI.V, Pointer
    All Known Implementing Classes:
    BGFXProfilerBeginLiteral
    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 BGFXProfilerBeginLiteralI
    extends CallbackI.V
    Profiler region begin with string literal name.

    Type

    
     void (*) (
         bgfx_callback_interface_t *_this,
         char const *_name,
         uint32_t _abgr,
         char const *_filePath,
         uint16_t _line
     )
    • 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 _name,
                    int _abgr,
                    long _filePath,
                    short _line)
        Will be called when a profiler region with string literal begins.

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

        Parameters:
        _this - the callback interface
        _name - region name, contains string literal
        _abgr - color of profiler region
        _filePath - file path where profiler_begin_literal was called
        _line - line where profiler_begin_literal was called