Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Change VkFormat in Vulkan Texture Import

Change VkFormat in Vulkan Texture Import

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 213 Views 1 Watching
  • 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.
  • A Offline
    A Offline
    ABest2
    wrote on last edited by
    #1

    I have modified the Vulkan Texture Import example.

    https://doc.qt.io/qt-6/qtquick-scenegraph-vulkantextureimport-example.html

    It is working well but I only need to render in grayscale so I don't need the VK_FORMAT_R8G8B8A8_UNORM which is the default required VkFormat for import. Is there a method to initialize the view to use a different format such as VK_FORMAT_R8_UNORM? This would reduce the quantity of data which needs to be copied.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved