Class MeshoptAllocate

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.meshoptimizer.MeshoptAllocate
All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, MeshoptAllocateI

public abstract class MeshoptAllocate extends Callback implements MeshoptAllocateI
Callback function: (* anonymous)
  • Method Details

    • create

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

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

      public static MeshoptAllocate create(MeshoptAllocateI instance)
      Creates a MeshoptAllocate instance that delegates to the specified MeshoptAllocateI instance.