Class BGFXTraceVarArgsCallback

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.bgfx.BGFXTraceVarArgsCallback
All Implemented Interfaces:
AutoCloseable, BGFXTraceVarArgsCallbackI, CallbackI, NativeResource, Pointer

public abstract class BGFXTraceVarArgsCallback extends Callback implements BGFXTraceVarArgsCallbackI
Prints a debug message.

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

Type


 void (*BGFXTraceVarArgsCallbackI.invoke(long, long, short, long, long)) (
     bgfx_callback_interface_t *_this,
     char const *_filePath,
     uint16_t _line,
     char const *_format,
     va_list _argList
 )
  • Method Details

    • create

      public static BGFXTraceVarArgsCallback create(long functionPointer)
      Creates a BGFXTraceVarArgsCallback instance from the specified function pointer.
      Returns:
      the new BGFXTraceVarArgsCallback
    • createSafe

      @Nullable public static BGFXTraceVarArgsCallback createSafe(long functionPointer)
      Like create, but returns null if functionPointer is NULL.
    • create

      public static BGFXTraceVarArgsCallback create(BGFXTraceVarArgsCallbackI instance)
      Creates a BGFXTraceVarArgsCallback instance that delegates to the specified BGFXTraceVarArgsCallbackI instance.