VEX Dictionary / getderiv
getderiv
Computes surface-parametric U and V derivatives of a named attribute at the current shading point.
group: shadingshadingmath
Available in displace, fog, light, shadow, surface
Usage
void getderiv(float attr, string attrName, int isVertexAttr, float s, float t, float &du, float &dv, ...)
void getderiv(<vector> attr, string attrName, int isVertexAttr, float s, float t, <vector> &du, <vector> &dv, ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
void getderiv(float, string, int, float, float, float &, float &, ...)displace, fog, light, shadow, surfacevoid getderiv(vector4, string, int, float, float, vector4 &, vector4 &, ...)displace, fog, light, shadow, surfacevoid getderiv(vector, string, int, float, float, vector &, vector &, ...)displace, fog, light, shadow, surface