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

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes