Class OPReadFunc
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.opus.OPReadFunc
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, OPReadFuncI
Callback function:
op_read_func-
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 OPReadFuncI
DESCRIPTORFields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionstatic OPReadFunccreate(long functionPointer) Creates aOPReadFuncinstance from the specified function pointer.static OPReadFunccreate(OPReadFuncI instance) Creates aOPReadFuncinstance that delegates to the specifiedOPReadFuncIinstance.static @Nullable OPReadFunccreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface OPReadFuncI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aOPReadFuncinstance from the specified function pointer.- Returns:
- the new
OPReadFunc
-
createSafe
-
create
Creates aOPReadFuncinstance that delegates to the specifiedOPReadFuncIinstance.
-