sampleCount | Number of samples to take. |
context | Device context. |
validityEstimateOut | Buffer slice to write the validity estimate into. |
positionOffset | Offset measured from the beginning of the probe position buffer. |
positionCount | Number of probes to integrate. |
Result Return code.
Integrate validity.
The integrator does spherical sampling for each probe position. Validity is 1 if all rays hit front-facing triangles or the sky. Validity is 0 if all rays hit back-facing triangles.