| 95 | /// ⚠️ If the backend does not support waiting on present, this will cause the CPU to wait for the GPU |
| 96 | /// to finish all work related to the previous frame when calling `Surface::get_current_texture`, |
| 97 | /// causing CPU-GPU serialization (i.e. when `Surface::get_current_texture` returns, the GPU might be idle). |
| 98 | /// It is currently not possible to query this. See <https://github.com/gfx-rs/wgpu/issues/2869>. |
| 99 | /// * A value of 0 is generally not supported and always clamped to a higher value. |
| 100 | pub desired_maximum_frame_latency: u32, |
| 101 | /// Specifies how the alpha channel of the textures should be handled during compositing. |
| 102 | pub alpha_mode: CompositeAlphaMode, |
| 103 | /// Specifies what view formats will be allowed when calling `Texture::create_view` on the texture returned by `Surface::get_current_texture`. |
| 104 | /// |
| 105 | /// View formats of the same format as the texture are always allowed. |