class
TGradientHelper
template<class COLOR>Helper used for implementing specializations of TColorGradient.
Public
Methods
staticGetInternalTime
static uint32_t GetInternalTime(float t)
staticFromInternalTime
static float FromInternalTime(uint16_t t)
staticToInternalColor
staticFromInternalColor
static Color FromInternalColor(RGBA color)
staticInvLerp
static uint32_t InvLerp(uint32_t from, uint32_t to, uint32_t val)
staticToLerpFactor
static uint32_t ToLerpFactor(float factor)
staticGetInternalTime
static float GetInternalTime(float t)
staticFromInternalTime
static float FromInternalTime(float t)
staticInvLerp
static float InvLerp(float from, float to, float val)
staticToLerpFactor
static float ToLerpFactor(float factor)