Top Description Inners Constructors Methods
org.lwjgl.util.meshoptimizer

public abstract Class MeshoptDeallocate

extends Callback
implements MeshoptDeallocateI
Class Inheritance
All Implemented Interfaces
org.lwjgl.util.meshoptimizer.MeshoptDeallocateI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.util.meshoptimizer.MeshoptDeallocate.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be passed to the setAllocator method.

Type


void (*invoke) (
    void *ptr
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
MeshoptDeallocate(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static MeshoptDeallocate

Returns:

the new MeshoptDeallocate
create
(long functionPointer)

Creates a MeshoptDeallocate instance from the specified function pointer.

public static MeshoptDeallocate
create(MeshoptDeallocateI instance)

Creates a MeshoptDeallocate instance that delegates to the specified MeshoptDeallocateI instance.

public static MeshoptDeallocate
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

MeshoptDeallocateback to summary
protected MeshoptDeallocate()
MeshoptDeallocateback to summary
pack-priv MeshoptDeallocate(long functionPointer)

Method Detail

createback to summary
public static MeshoptDeallocate create(long functionPointer)

Creates a MeshoptDeallocate instance from the specified function pointer.

Returns:MeshoptDeallocate

the new MeshoptDeallocate

createback to summary
public static MeshoptDeallocate create(MeshoptDeallocateI instance)

Creates a MeshoptDeallocate instance that delegates to the specified MeshoptDeallocateI instance.

createSafeback to summary
public static MeshoptDeallocate createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.util.meshoptimizer back to summary

private final Class MeshoptDeallocate.Container

extends MeshoptDeallocate
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final MeshoptDeallocateI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, MeshoptDeallocateI delegate)

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from org.lwjgl.util.meshoptimizer.MeshoptDeallocate:
createcreatecreateSafe

Field Detail

delegateback to summary
private final MeshoptDeallocateI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, MeshoptDeallocateI delegate)

Method Detail

invokeback to summary
public void invoke(long ptr)

Implements org.lwjgl.util.meshoptimizer.MeshoptDeallocateI.invoke.

Annotations
@Override