No possibility of changing the surface PresentMode
without recreating the whole Pixels
instance
#372
Labels
enhancement
New feature or request
Pixels version: 0.13.0
I'm working on a project in which I would like to be able to toggle vsync on/off after my
Pixels
instance has been initialized. Currently, the only solution I found was to recreate myPixels
instance with this setting changed, using theOption<Pixels>
workaround mentioned in #238 (it seems that problem in particular has been fixed on the main branch though)Would it be possible for example to add some
enable_vsync
andset_present_mode
methods onPixels
, similarly to what is currently exposed inPixelsBuilder
. Those would set the present mode and reconfigure the wgpu surface. If that seems an ok proposal, I can submit a PR 🙂The text was updated successfully, but these errors were encountered: