The difference between Variable and Varying

When used as nouns, variable means something that is variable, whereas varying means a kind of variable, used by a fragment shader, that interpolates values across a primitive, so as to produce gradient effects etc.


Variable is also adjective with the meaning: able to vary.

check bellow for the other definitions of Variable and Varying

  1. Variable as an adjective:

    Able to vary.

    Examples:

    "variable winds or seasons; a variable quantity"

  2. Variable as an adjective:

    Likely to vary.

  3. Variable as an adjective:

    Marked by diversity or difference.

  4. Variable as an adjective (mathematics):

    Having no fixed quantitative value.

  5. Variable as an adjective (biology):

    Tending to deviate from a normal or recognized type.

  1. Variable as a noun:

    Something that is variable.

  2. Variable as a noun:

    Something whose value may be dictated or discovered.

    Examples:

    "There are several variables to consider here."

  3. Variable as a noun (mathematics):

    A quantity that may assume any one of a set of values.

  4. Variable as a noun (mathematics):

    A symbol representing a variable.

  5. Variable as a noun (programming):

    A named memory location in which a program can store intermediate results and from which it can read them.

  6. Variable as a noun (astronomy):

    A variable star.

  7. Variable as a noun (nautical):

    A shifting wind, or one that varies in force.

  8. Variable as a noun (nautical, in the plural):

    Those parts of the sea where a steady wind is not expected, especially the parts between the trade-wind belts.

  1. Varying as a verb:

  1. Varying as a noun (computer graphics):

    A kind of variable, used by a fragment shader, that interpolates values across a primitive, so as to produce gradient effects etc.