KrisLibrary  1.0.0
Public Member Functions | Public Attributes | List of all members
GLDraw::ColorGradient Struct Reference

Public Member Functions

 ColorGradient (const GLColor &a)
 
 ColorGradient (const GLColor &a, const GLColor &b)
 
void SetConstant (const GLColor &c)
 
void SetBlend (const GLColor &a, const GLColor &b)
 
void SetHue (float hue)
 
void SetAlpha (float alpha)
 
void Eval (float u, GLColor &c) const
 

Public Attributes

std::vector< float > params
 
std::vector< GLColorcolors
 

The documentation for this struct was generated from the following files: