Nominate our 2022 Qt Champions!

How does QtQuick Scene Graph calculate the OpenGL z-value for a node?

  • I have been digging though the documentation for Scene Graph, and I cannot find out how the z-value (I.E. z in 3d space NOT Item::z) for each item is made unique and kept in order. I think the documentation said that it was compressed to be between 0 and 1, but nothing past that. I know there is a QSGTransform node that could change the z-value but not where its set. I also tried looking in the source code but so far no luck. Does anyone know a more in depth documentation on how the Scene Graph's guts work?

Log in to reply