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 Link icon

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 Link icon