Class MeshoptAllocate
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.meshoptimizer.MeshoptAllocate
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, MeshoptAllocateI
Callback function:
(* anonymous)-
Nested Class Summary
Nested classes/interfaces inherited from class Callback
Callback.DescriptorNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface MeshoptAllocateI
DESCRIPTORFields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshoptAllocatecreate(long functionPointer) Creates aMeshoptAllocateinstance from the specified function pointer.static MeshoptAllocatecreate(MeshoptAllocateI instance) Creates aMeshoptAllocateinstance that delegates to the specifiedMeshoptAllocateIinstance.static @Nullable MeshoptAllocatecreateSafe(long functionPointer) Methods inherited from interface MeshoptAllocateI
callback, getDescriptor, invokeMethods inherited from interface NativeResource
close
-
Method Details
-
create
Creates aMeshoptAllocateinstance from the specified function pointer.- Returns:
- the new
MeshoptAllocate
-
createSafe
-
create
Creates aMeshoptAllocateinstance that delegates to the specifiedMeshoptAllocateIinstance.
-