UIElement.zOrder

Set/get widget Z-order (default = 0).

However, keep in mind the Raw layer is always on top of anything PBR.

Order of draw (lower is earlier): [ Raw widget with zOrder=10] [ Raw widget with zOrder=-4] [ PBR widget with zOrder=2] [ PBR widget with zOrder=0]

The higher the Z-order, the later it is composited. In case of identical Z-order, the widget that comes after in the children tree is drawn after.

  1. int zOrder()
  2. void zOrder(int zOrder)
    class UIElement
    nothrow @nogc final
    void
    zOrder
    (
    int zOrder
    )

Meta