samplesPerSide

Number of grid samples along each side of the area-of-interest (output raster is samplesPerSide square). Clamped to [2, MAX_SAMPLES_PER_SIDE] (default MAX_SAMPLES_PER_SIDE is 4096) to prevent GPU allocation footguns - at 4096² the output + sampler textures alone are ~64 MB each.

Throws

if the value is outside [2, MAX_SAMPLES_PER_SIDE]