Class YGMeasureFunc

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

public abstract class YGMeasureFunc extends Callback implements YGMeasureFuncI
Callback function: YGMeasureFunc
  • Method Details

    • create

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

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

      public static YGMeasureFunc create(YGMeasureFuncI instance)
      Creates a YGMeasureFunc instance that delegates to the specified YGMeasureFuncI instance.