Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76735 Qt Quick 3D: C++ API
  3. QTBUG-85143

Qt Quick 3D C++ API: Make Graph Objects public

XMLWordPrintable

    • Icon: Technical task Technical task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Quick: 3D
    • None
    • Qt Quick 3D - July

      To have a functional C++ API for creating custom QQuick3DNode/QtQuick3DObjects we need to expose the scene graph nodes that are returned by updateSpatialNode(...)

      The challenge is not exposing too much internal details of the renderer.  The GraphObject nodes (they live in runtimerender/graphobjects folder) just store state from the the frontend in structs that are used in the render thread (same pattern as Qt Quick 2D Scenegraph).

      These structs should use the same pattern as QSGNode for being made public (adding a d pointer, etc).

      Some work is done to only expose a minimum of internal classes of the renderer.  Keep state types to simplistic value types like QMatrix, QVector, etc when possible.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.graphics.and.multimedia Qt Graphics Team
            janichol Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes