Package org.lwjgl.util.yoga
@NullMarked
package org.lwjgl.util.yoga
Contains bindings to Yoga.
Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API familiar to many designers and opening it up to developers across different platforms.
- Do you already know Flexbox? Then you already know Yoga.
- Write code in a language familiar to you - Java, C#, Objective-C, C.
- C under the hood so your code moves fast.
- Battle tested in popular frameworks like React Native.
LWJGL implementation
Unlike the official Yoga Java bindings, the LWJGL bindings directly expose the native C API. YGNodeRef handles do not need to be wrapped in
Java instances, so there is no memory overhead.
Resources
-
ClassDescriptionCallback function:
YGBaselineFuncCallback function:YGBaselineFuncCallback function:YGCloneNodeFuncCallback function:YGCloneNodeFuncCallback function:YGDirtiedFuncCallback function:YGDirtiedFuncCallback function:YGLoggerCallback function:YGLoggerCallback function:YGMeasureFuncCallback function:YGMeasureFuncstruct YGSize { float width; float height; }An array ofYGSizestructs.struct YGValue { float value; YGUnit unit; }An array ofYGValuestructs.