Searched refs:floatAlphaMax (Results 1 – 1 of 1) sorted by relevance
50 const f32 floatAlphaMax = ut::Color8::ALPHA_MAX; in MultiplyAlpha() local52 pDst->r = src.r / floatAlphaMax; in MultiplyAlpha()53 pDst->g = src.g / floatAlphaMax; in MultiplyAlpha()54 pDst->b = src.b / floatAlphaMax; in MultiplyAlpha()55 pDst->a = (src.a / floatAlphaMax) * (alpha / floatAlphaMax); in MultiplyAlpha()