How to convert MTLTexture into VkImage?

This topic contains 1 reply, has 2 voices, and was last updated by  Bill Hollings 1 year, 3 months ago.

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


    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.


    Bill Hollings


    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.


Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘MoltenVK Support’ is closed to new topics and replies.