Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128234

Expose the RHI implementation in QRhi

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.8.0 Beta4
    • Qt RHI
    • None

    Description

      If the application has access to the private header files (hence to the implementations such as `QRhiD3D11`) there currently seems no way for the application to grab the actual implementation from a `QRhi` instance to make use of the implementations directly.

      I propose having a public `QRhiImplementation* implementation() { return d; };` method within `QRhi`. A similar thing is done in `QGuiApplication` currently through `QNativeInterface *QGuiApplication::nativeInterface()`.

       

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            fuzun Fatih Uzunoglu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes