Skip to main content

Module surface

Module surface 

Source

Functions§

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.
texture_limits
Device limits with max_texture_dimension_2d raised to the adapter’s real maximum instead of the 8192 of wgpu::Limits::default.