slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
17.59k stars 604 forks source link

Slint + vulkano collaboration #6805

Open burbokop opened 3 hours ago

burbokop commented 3 hours ago

There is a rust example opengl_texture in the repo, showning how to collaborate with opengl. Is there a way to collaborate with vulkan though rust vulkano crate the same way as in this opengl example? If not, it would be good to have this ability because vulkan (vulkano) is more idiomatic and modern way to work with gpu then opengl. If yes, it would be good to add an official example.

tronical commented 1 hour ago

Agreed. Besides the new API to select a renderer by features (where Vulkan need to be added), the big question is: how to represent the different typed needed in the GraphicsAPI enum? (Device, queue index, instance, etc)