Lines Matching refs:iround
466 short blendConstantR = iround(65535 * blendConstant.r); in setBlendConstant()
467 short blendConstantG = iround(65535 * blendConstant.g); in setBlendConstant()
468 short blendConstantB = iround(65535 * blendConstant.b); in setBlendConstant()
469 short blendConstantA = iround(65535 * blendConstant.a); in setBlendConstant()
492 short invBlendConstantR = iround(65535 * (1 - blendConstant.r)); in setBlendConstant()
493 short invBlendConstantG = iround(65535 * (1 - blendConstant.g)); in setBlendConstant()
494 short invBlendConstantB = iround(65535 * (1 - blendConstant.b)); in setBlendConstant()
495 short invBlendConstantA = iround(65535 * (1 - blendConstant.a)); in setBlendConstant()
602 factor.alphaReference4[0] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
603 factor.alphaReference4[1] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
604 factor.alphaReference4[2] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()
605 factor.alphaReference4[3] = (word)iround(alphaReference * 0x1000 / 0xFF); in setAlphaReference()