-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bevy_window::PresentMode
: The documentation for the AutoVsync
and AutoNoVsync
variants causes confusion.
#9151
Comments
|
How about just adding the |
That would work for one of my issues. However, it doesn't fix the other issue - the confusing "(on web)" descriptor on the Would that be something I report to |
I also found "on web" confusing in https://wgpu.rs/doc/wgpu/enum.PresentMode.html#variant.AutoNoVsync. I think it's great to report this to wgpu and improve the documentation there, then bevy updates the doc back. |
# Objective - Update `bevy_window::PresentMode` to mirror `wgpu::PresentMode`, Fixes #9151. ## Solution Add `bevy_window::PresentMode::FifoRelaxed` to `bevy_window::PresentMode`, add documents. --- ## Changelog ### Added - Add `bevy_window::PresentMode::FifoRelaxed` to `bevy_window::PresentMode`. ## Migration Guide - Handle `bevy_window::PresentMode::FifoRelaxed` when tweaking window present mode manually.
# Objective - Update `bevy_window::PresentMode` to mirror `wgpu::PresentMode`, Fixes #9151. ## Solution Add `bevy_window::PresentMode::FifoRelaxed` to `bevy_window::PresentMode`, add documents. --- ## Changelog ### Added - Add `bevy_window::PresentMode::FifoRelaxed` to `bevy_window::PresentMode`. ## Migration Guide - Handle `bevy_window::PresentMode::FifoRelaxed` when tweaking window present mode manually.
Hi again! I was browsing the documentation, and noticed that two of the variants of
bevy_window::PresentMode
have slightly confusing documentation.First off, the
AutoVsync
variant onbevy_window::PresentMode
mentions something aboutFifoRelaxed
. My intuition says that this is meant to referenceMailbox
, but without testing I would not know either way.And second off, in the
AutoNoVsync
variant, says "Chooses Immediate -> Mailbox -> Fifo (on web)". The "(on web)" causes some level of confusion, as I'm unsure what it's meant to mean. Does that mean that Fifo is only considered when on the web? Or does it mean something else? In any case, separating the "(on web)" part out into its own sentence (i.e. "Fifo is only considered when running on the web.") may be a good idea.Thanks for your hard work, whoever responds to this!
The text was updated successfully, but these errors were encountered: