Varying vs Undefined - What's the difference?
varying | undefined |
A kind of variable, used by a fragment shader, that interpolates values across a primitive, so as to produce gradient effects etc.
* 2012 , Patrick Cozzi, Christophe Riccio, OpenGL Insights
Lacking a definition or value.
(mathematics, computing) That does not have a meaning and is thus not assigned an interpretation.
As a verb varying
is .As a noun varying
is a kind of variable, used by a fragment shader, that interpolates values across a primitive, so as to produce gradient effects etc.As an adjective undefined is
lacking a definition or value.varying
English
Verb
(head)Noun
(en noun)- Another consideration to the relationship between vertex and fragment shaders is that adding too many additional varyings can be a drag on performance since they must all be interpolated
undefined
English
Adjective
(wikipedia undefined) (-)- The result of division by zero is undefined .