.\" Automatically generated by Pandoc 3.1.11.1 .\" .TH "rtcInterpolateN" "3" "" "" "Embree Ray Tracing Kernels 4" .SS NAME .IP .EX rtcInterpolateN \- performs N interpolations of vertex attribute data .EE .SS SYNOPSIS .IP .EX #include struct RTCInterpolateNArguments { RTCGeometry geometry; const void* valid; const unsigned int* primIDs; const float* u; const float* v; unsigned int N; enum RTCBufferType bufferType; unsigned int bufferSlot; float* P; float* dPdu; float* dPdv; float* ddPdudu; float* ddPdvdv; float* ddPdudv; unsigned int valueCount; }; void rtcInterpolateN( const struct RTCInterpolateNArguments* args ); .EE .SS DESCRIPTION The \f[CR]rtcInterpolateN\f[R] is similar to \f[CR]rtcInterpolate\f[R], but performs \f[CR]N\f[R] many interpolations at once. It additionally gets an array of u/v coordinates and a valid mask (\f[CR]valid\f[R] parameter) that specifies which of these coordinates are valid. The valid mask points to \f[CR]N\f[R] integers, and a value of \-1 denotes valid and 0 invalid. If the valid pointer is \f[CR]NULL\f[R] all elements are considers valid. The destination arrays are filled in structure of array (SOA) layout. The value \f[CR]N\f[R] must be divisible by 4. .PP To use \f[CR]rtcInterpolateN\f[R] for a geometry, all changes to that geometry must be properly committed using \f[CR]rtcCommitGeometry\f[R]. .SS EXIT STATUS For performance reasons this function does not do any error checks, thus will not set any error flags on failure. .SS SEE ALSO [rtcInterpolate]