Class BGFXProfilerBeginLiteral

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

public abstract class BGFXProfilerBeginLiteral extends Callback implements BGFXProfilerBeginLiteralI
Profiler region begin with string literal name.

Type


 void (*BGFXProfilerBeginLiteralI.invoke(long, long, int, long, short)) (
     bgfx_callback_interface_t *_this,
     char const *_name,
     uint32_t _abgr,
     char const *_filePath,
     uint16_t _line
 )
  • Method Details

    • create

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

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

      public static BGFXProfilerBeginLiteral create(BGFXProfilerBeginLiteralI instance)
      Creates a BGFXProfilerBeginLiteral instance that delegates to the specified BGFXProfilerBeginLiteralI instance.