AnthonyTornetta / bevy_easy_compute

App compute plugin for Bevy
21 stars 4 forks source link

System ordering ambiguities inevitable for end users #4

Closed AnthonyTornetta closed 3 months ago

AnthonyTornetta commented 3 months ago

Systems such as extract_pipelines are at a pub(crate) access level. This means that end-user systems cannot be explicitly ordered relative to when extract_pipelines is ready, potentially leading to one-frame delays.

Solution

Create a new SystemSet BevyEasyComputeSet that systems such as extract_pipeline are added to. This system set should be publicly accessible to end-users, so they can customize and order it as they see fit. This has the advantage of not exposing too much of the underlying API, while still giving users the access they need to properly order their systems.