Skip to main content

Gradient Sample

Menu: Sampling

Purpose

Evaluates a gradient resource at the supplied position and returns the sampled color.

Inputs

NameTypeDefaultDetails
GradientTEXTURE-Fragment stage.
XNUMBER-Fragment stage.

Outputs

NameTypeDefaultDetails
ColorFLOAT4--