We found some workaround that is kinda works nice:
Consider this C# code:
public delegate YGSize DDDD(object? context, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode);
Now a little wrapper:
Produces:
Our observations revealed few points:
- Delegate has named inputs
- Content of delegate is changeable without recreation, however if you add remove nodes you need to trigger recreate.
So far I guess will stay on this method.

