You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Expose Present Mode and VSync Configuration in RenderContextBuilder #82
Plumb the existing with_vsync flag from WindowBuilder through to RenderContextBuilder (Or one of it's settings) and expose explicit PresentMode selection for users.
Current State
WindowBuilder has a with_vsync method, but it is currently a no-op:
// crates/lambda-rs/src/render/window.rs/// Request vertical sync behavior for the swapchain.////// Note: present mode is ultimately selected when configuring the rendering/// surface in `RenderContextBuilder`. This flag is reserved to influence/// that choice and is currently a no‑op.pubfnwith_vsync(mutself,vsync:bool) -> Self{self.vsync = vsync;returnself;}
And within the platform layer, we already support present mode selection:
Activity