Package org.lwjgl.util.yoga
Class YGMeasureFunc
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.util.yoga.YGMeasureFunc
- All Implemented Interfaces:
AutoCloseable
,CallbackI
,NativeResource
,Pointer
,YGMeasureFuncI
Type
YGSize (*YGMeasureFuncI.invoke(long, float, int, float, int, org.lwjgl.util.yoga.YGSize)
) (
YGNodeRef node,
float width,
YGMeasureMode widthMode,
float height,
YGMeasureMode heightMode
)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
Fields inherited from interface org.lwjgl.util.yoga.YGMeasureFuncI
CIF
-
Method Summary
Modifier and TypeMethodDescriptionstatic YGMeasureFunc
create
(long functionPointer) Creates aYGMeasureFunc
instance from the specified function pointer.static YGMeasureFunc
create
(YGMeasureFuncI instance) Creates aYGMeasureFunc
instance that delegates to the specifiedYGMeasureFuncI
instance.static YGMeasureFunc
createSafe
(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close
Methods inherited from interface org.lwjgl.util.yoga.YGMeasureFuncI
callback, getCallInterface, invoke
-
Method Details
-
create
Creates aYGMeasureFunc
instance from the specified function pointer.- Returns:
- the new
YGMeasureFunc
-
createSafe
-
create
Creates aYGMeasureFunc
instance that delegates to the specifiedYGMeasureFuncI
instance.
-