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

QVulkanFunctions, QVulkanDeviceFunctions constness

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • 6.0.0
    • 5.13.0 Beta3
    • GUI: Vulkan
    • None
    • 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

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes