limits property

GPUSupportedLimits get limits

The limits read-only property of the GPUDevice interface returns a GPUSupportedLimits object that describes the limits supported by the device. All limit values will be included, and the limits requested during the creation of the device (i.e. when GPUAdapter.requestDevice is called) will be reflected in those values.

Note

Not all limits will be reported as expected, even if they are supported by the underlying hardware. See GPUAdapter.limits for more details.

Implementation

external GPUSupportedLimits get limits;