Skip to main content

Module surface

Module surface 

Source

Functions§

alternate_present_mode
Pick an alternate supported present mode to configure through before settling back on target.
clamp_surface_extent
Clamp a surface extent so Surface::configure cannot reject it.
install_nonfatal_error_handler
Install a non-fatal handler for uncaptured wgpu errors on device.
refresh_config_after_display_change
Refresh a surface configuration against capabilities re-queried after a display-topology change.
texture_limits
Device limits with max_texture_dimension_2d raised to the adapter’s real maximum instead of the 8192 of wgpu::Limits::default.