Section courante

A propos

Section administrative du site

mix

Mixé
OpenCL

Syntaxe

gentype mix(gentype x, gentype y, gentype a)
gentypef mix(gentypef x, gentypef y, float a)
gentyped mix(gentyped x, gentyped y, double a)
gentypeh mix(gentypeh x, gentypeh y, half a)

Description

Cette fonction permet d'effectuer une interpolation linéaire entre deux valeurs selon un facteur donné.



Dernière mise à jour : Mardi, le 8 Juillet 2025