3 ms·
Great work on the gfx portability layer! I hope to be able to use it in the future, but for the time being I've abandoned gfx in favor of raw OpenGL calls in or
by smaddox 8y ago
Great work on the gfx portability layer! I hope to be able to use it in the future, but for the time being I've abandoned gfx in favor of raw OpenGL calls in order to avoid the type complexity in gfx (I spent multiple hours trying to cram all of the gfx state into a struct, but could not figure out what to put as some of the type signatures... even with the compiler trying to help me). Hopefully the the low-level API, once stable, will give me the type simplicity I prefer.
- kvark 8y agoYou can also try one of the Vulkan Rust libraries (ash, Vulkano). Later you'd have easier time migrating to gfx-hal, or alternatively can just run over gfx-portability.
- smaddox 8y agoI'm currently using my MacBook pro for development, so vulkan isn't an option right now. I'll definitely keep that in mind, though.
- termhn 8y agoSure it is, use MoltenVK or `portability` from this article :)
- jrhurst 8y agoI've been doing my Vulkano learning on a mac about half of the time. MoltenVK makes it good enough to get things going.
- kvark 8y agoWell, at least now your know that there is an alternative. For a Rust ecosystem project, really, there shouldn't be a need to use MoltenVK.