vulkano-rs / vulkano

Safe and rich Rust wrapper around the Vulkan API
Apache License 2.0
4.45k stars 435 forks source link

Task graph [2/10]: the task graph data structure #2545

Closed marc0246 closed 1 month ago

marc0246 commented 1 month ago

Follow-up to #2540, implementing the task graph data structure. The graph currently consists of nodes with edges between them and virtual resources which task nodes can access. The virtual resources allow the user to swap out resources between frames without recompiling the graph, such as e.g. when recreating the swapchain and associated attachments or when reallocating a buffer, etc.

Changelog:

### Additions
- Added `Sharing::{is_exclusive,is_concurrent}`.