Searched refs:UINT2_MAX (Results 1 – 1 of 1) sorted by relevance
3143 static constexpr uint8_t UINT2_MAX = 3; variable3148 float rPixel = pixel * percent * UINT2_MAX / alpha; in CheckPixel()3175 a = static_cast<uint16_t>(UINT2_MAX * percent + HALF_ONE); in SetRGBA1010102PixelAlpha()3181 uint8_t alpha = static_cast<uint8_t>(UINT2_MAX * percent + HALF_ONE); in SetRGBA1010102PixelAlpha()