Class YGLogger

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.yoga.YGLogger
All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, YGLoggerI

public abstract class YGLogger extends Callback implements YGLoggerI
Callback function: YGLogger
  • Method Details

    • create

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

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

      public static YGLogger create(YGLoggerI instance)
      Creates a YGLogger instance that delegates to the specified YGLoggerI instance.