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
Default to wgpu::Adapter::get_swap_chain_preferred_format(), and expose the chosen option. I started on this, but I need to put some more thought into it. I forgot that the format you provide your data as to pixels and the format pixels::ScalingRenderer uses aren't necessarily the same. Also needs some thought into how we want this to work in the cases where you're using pixels::ScalingRenderer via pixels::render_with(). It also might require a bit of refactoring. I definitely need to think on this longer.
The text was updated successfully, but these errors were encountered:
- Fixes#140
- Adds a public method to get the current GPU framebuffer texture format
(AKA the render texture format).
- This wasn't as difficult as it seemed; the extra API is used by the
examples to get the right texture format instead of being hardcoded.
- Fixes#140
- Adds a public method to get the current GPU framebuffer texture format (AKA the render texture format).
- This wasn't as difficult as it seemed; the extra API is used by the examples to get the right texture format instead of being hardcoded.
This is a followup to #134 (comment)
Note from @JMS55:
The text was updated successfully, but these errors were encountered: