Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Can QML be used to draw 3D directly in DX?

    QML and Qt Quick
    3
    3
    387
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pegeset last edited by pegeset

      Hey,

      I'm going to draw a 3D scene with DX, but using DX to draw the HWND to pass the component to the DX, and the QML component is no HWND. How do I solve this problem? Thanks.

      jiancaiyang raven-worx 2 Replies Last reply Reply Quote 0
      • jiancaiyang
        jiancaiyang @pegeset last edited by

        @pegeset Qt Quick can be render using Direct3D 12 as backend, however I know little about how to run them interactively.

        我们自己的论坛:http://qtdream.com
        擅长三维角色仿真动画。

        1 Reply Last reply Reply Quote 0
        • raven-worx
          raven-worx Moderators @pegeset last edited by

          @pegeset
          QML is using Open GL ES 2.0. The translation to DirectX happens via Angle.
          So no, you can't "write to" DirectX directly.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply Reply Quote 1
          • First post
            Last post