Function usingResolution

Modify the current limits to use the resolution limits of the other.

__C.WGPULimits usingResolution (
  const(__C.WGPULimits) source,
  const(__C.WGPULimits) target
) @trusted;

This is useful because the swap chain might need to be larger than any other image in the application. For example, if your application only needs 512x512 textures, but it might be running on a 4k display.

See Also

wgpu::Limits.using_resolution