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

QVulkanFunctions, QVulkanDeviceFunctions constness

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.13.0 Beta3
    • Fix Version/s: 6.0.0
    • Component/s: GUI: Vulkan
    • Labels:
      None
    • Platform/s:
      All

      Description

      Currently, the wrappers contained in QVulkanFunctions and QVulkanDeviceFunctions are non-const methods. However, since they simple read a member variable and call a function it looks they could safely be const.

      Doing that would improve the reusability of QVulkanFunctions and QVulkanDeviceFunctions in conjunction with third party wrappers (in my case, Vulkan-Hpp).

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            foobarres Frank Richter
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes