How to convert MTLTexture into VkImage?


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1316
    tracyma
    Participant

      We extract a MTLTexture with CVMetalTextureGetTexture(), and want to draw sth with this texture in Vulkan.

      Have heard here:

      And unfortunately, the other option…of applying an existing MTLTexture to a VkImage…does not exist within the MoltenVK API.

      What’s the status now?

      Or, we can create a VkImage and update it with copying CVPixelBufferRef to VkImage buffer, but this is much less efficient i think.

      #1318
      Bill Hollings
      Keymaster

        @tracyma

        Unfortunately…the direct use of pre-existing MTLTextures is not available in the MoltenVK API.

        I’ve put it on the list of development activities for a future release though.

        …Bill

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The forum ‘MoltenVK Support’ is closed to new topics and replies.