• Monomate@lemm.ee
    link
    fedilink
    arrow-up
    5
    ·
    11 months ago

    I’m out of the loop on this one… What’s the purpose of an Intermediate Graphics Library? Don’t we have Vulkan already?

    • Dudewitbow@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      11 months ago

      The IGL also maps to Metal, so you can have a program thats cross platform if you include OSX. Vulkan would be viable for all other platforms that arent Apple based.

      A usecase i could immediately see for this would be developing a VR/AR app that both works on apples new headset and existing headsets in the market, be it android based (untethered quest), windows based, or apples incoming vision os, which would assume to be running metal as a graphics api due to the hardware.

        • Dudewitbow@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          Sorta. You would stll have to build vulkan and MoltenVK builds seperately, while I think metas will be one build fots all platforms styles as it removes the need to target specific devices.

    • k_o_t@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      11 months ago

      it allows you to write graphics code in a backend-independent manner (supporting vulkan and metal for example), looking a little closer, it looks like a nice level of abstraction over various rendering backends 👀