• AVincentInSpace
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    8 months ago

    wgpu is a Rust library. Using it from programs they are not written in Rust, such as Godot games, poses a significant challenge.

    • voxel@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      8 months ago

      well there’s also dawn for c++, which is also an implementation of webgpu.
      wgpu also has official c/c++ bindings.

      btw you probably don’t need a low-level gpu library if you’re already using a game engine…

      • AVincentInSpace
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        btw you probably don’t need a low-level gpu library if you’re already using a game engine…

        the low level graphics library calls have to be implemented somewhere, don’t they? if i’m one of the developers of the Godot engine, and I’m writing Godot in C++, I’m not going to use a Rust graphics library