Optional
formatsThe formats to prepare downsampling pipelines for.
Optional
maxThe maximum number of array layers will be downsampled on the device within a single pass. If a texture has more, downsampling will be split up into multiple passes handling up to this limit of array layers each. Defaults to device.limits.maxTextureArrayLayers.
Optional
maxThe maximum number of mip levels that can be generated on the device within a single pass.
Note that generating more than 6 mip levels per pass is currently not supported on all platforms.
Defaults to Math.min(device.limits.maxStorageTexturesPerShaderStage, 12)
.
The device to prepare downsampling pipelines for.