- _update
void _update()
- getGradient
Ref!Gradient getGradient()
- opAssign
GradientTexture opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(GradientTexture other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- setGradient
void setGradient(Gradient gradient)
- setWidth
void setWidth(long width)
Gradient filled texture.
Uses a Gradient to fill the texture data, the gradient will be filled from left to right using colors obtained from the gradient, this means that the texture does not necessarily represent an exact copy of the gradient, but instead an interpolation of samples obtained from the gradient at fixed steps (see setWidth).