blaind / xrbevy

Proof-of-concept of getting OpenXR rendering support for Bevy game engine using gfx-rs abstractions
64 stars 4 forks source link

Use predicted frametime as a bevy time in the render graph #6

Open blaind opened 3 years ago

blaind commented 3 years ago

From OpenXR docs:

The engine simulation should advance based on the display time. Every stage in the engine pipeline should use the exact same display time for one particular application-generated frame. An accurate and consistent display time across all stages and threads in the engine pipeline is important to avoid object motion judder. If the application has multiple pipeline stages, the application should pass its computed display time through its pipeline, as xrWaitFrame must be called only once per frame.