context | Device context. |
positionOffset | Offset measured from the beginning of the probe position buffer. |
positionCount | Number of probes to integrate. |
sampleCount | Number of samples to take. |
validityEstimateOut | Buffer slice to write the validity estimate into. |
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.