• Monomate@lemm.ee
    link
    fedilink
    arrow-up
    5
    ·
    1 year 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
      ·
      1 year 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
          ·
          1 year 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
      arrow-down
      1
      ·
      edit-2
      1 year 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 👀