newsampler
| Context(s) | displace fog light shadow surface | 
|---|
int  newsampler(...)
int  newsampler(int seed, ...)
Returns an initialized sampler sequence for use as the first argument to the nextsample function.
seed
You can specify a seed value for the sequence. Using the same seed will generate the same sequence. This can be useful when random sampling into a point cloud, for consistent results.