4 ms·
If you're looking for something like this, Sokol is a much simpler alternative: https://github.com/floooh/sokol https://github.com/floooh/sokol It doesn't sup
by joeld42 3y ago
If you're looking for something like this, Sokol is a much simpler alternative:
https://github.com/floooh/sokol https://github.com/floooh/sokol
It doesn't support vulkan though, but if that's important to you you're probably much better off just using vulkan directly since it's supported on all the major platforms.
- sgent 3y agoVulkan is not supported on iOS / MacOS, which is the major benefit to this release.
- flohofwoe 3y agoKhronos maintains MoltenVk though, which is as "official" as it gets: https://github.com/KhronosGroup/MoltenVK https://github.com/KhronosGroup/MoltenVK ...technically, Vulkan on Windows is also only supported via 3rd-parties (the GPU vendors), so the situation isn't actually all that different. The "Vulkan driver" is just bundled with the application on Mac instead of installed separately.
- KRAKRISMOTT 3y agoWhat about https://github.com/gfx-rs/wgpu https://github.com/gfx-rs/wgpu It is written in Rust
- bogwog 3y agoSokol also provides a solution for shader cross-compilation (https://github.com/floooh/sokol-tools/blob/master/docs/sokol-shdc.md https://github.com/floooh/sokol-tools/blob/master/docs/sokol...), so you only need to write your shaders once no matter if you're targeting OpenGL, Metal, or DirectX. There are other tools you could use out there with IGL, but Sokol's solution streamlines the whole process.