Limits

Represents the sets of limits an adapter/device supports.

Limits "better" than the default must be supported by the adapter and requested when requesting a device. If limits "better" than the adapter supports are requested, requesting a device will panic. Once a device is requested, you may only use resources up to the limits requested even if the adapter supports "better" limits.

Requesting limits that are "better" than you need may cause performance to decrease because the implementation needs to support more than is needed. You should ideally only request exactly what you need.

<strong>See Also</strong>: https://gpuweb.github.io/gpuweb/#dictdef-gpulimits

alias Limits = WGPUCLimits

See Also

Meta