Package org.lwjgl.util.yoga
@NullMarked
package org.lwjgl.util.yoga
Contains bindings to Yoga.
LWJGL implementation
Resources
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:
YGBaselineFunc
Callback function:YGBaselineFunc
Callback function:YGCloneNodeFunc
Callback function:YGCloneNodeFunc
Callback function:YGDirtiedFunc
Callback function:YGDirtiedFunc
Callback function:YGLogger
Callback function:YGLogger
Callback function:YGMeasureFunc
Callback function:YGMeasureFunc
struct YGSize { float width; float height; }
An array ofYGSize
structs.struct YGValue { float value; YGUnit unit; }
An array ofYGValue
structs.