Class YGMeasureFunc
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.yoga.YGMeasureFunc
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, YGMeasureFuncI
Callback function:
YGMeasureFunc-
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 Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEFields inherited from interface YGMeasureFuncI
DESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionstatic YGMeasureFunccreate(long functionPointer) Creates aYGMeasureFuncinstance from the specified function pointer.static YGMeasureFunccreate(YGMeasureFuncI instance) Creates aYGMeasureFuncinstance that delegates to the specifiedYGMeasureFuncIinstance.static @Nullable YGMeasureFunccreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface YGMeasureFuncI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aYGMeasureFuncinstance from the specified function pointer.- Returns:
- the new
YGMeasureFunc
-
createSafe
-
create
Creates aYGMeasureFuncinstance that delegates to the specifiedYGMeasureFuncIinstance.
-