|
static |
gradientToTexturize | gradient to be evaluated for each horizontal pixel in the output texture. |
textureWidth | defines how many pixels will be in the output texture, and how many steps in the gradient will be evaluated. |
appendReverseGradient | When true, the full gradient will only take up half the width of the texture, the second half of the texture will contains the gradient colors in reverse order. This will ensure the starting pixel is the same color as the ending pixel, regardless of the gradient used. |