Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int result = base.GetHashCode();

            result = 977 * result + JavaUtils.floatToRawIntBits(value);
            return(result);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int result = base.GetHashCode();

            result = 971 * result + (int)depthFunc;
            result = 971 * result + JavaUtils.floatToRawIntBits(depthRangeNear);
            result = 971 * result + JavaUtils.floatToRawIntBits(depthRangeFar);
            result = 971 * result + (depthMask ? 1 : 0);
            return(result);
        }
Ejemplo n.º 3
0
        public override int GetHashCode()
        {
            int result = base.GetHashCode();

            result = 947 * result + (blended ? 1 : 0);
            result = 947 * result + (int)sourceFunction;
            result = 947 * result + (int)destFunction;
            result = 947 * result + JavaUtils.floatToRawIntBits(opacity);
            return(result);
        }
Ejemplo n.º 4
0
        public override int GetHashCode()
        {
            int result = base.GetHashCode();

            result = 991 * result + textureDescription.GetHashCode();
            result = 991 * result + JavaUtils.floatToRawIntBits(offsetU);
            result = 991 * result + JavaUtils.floatToRawIntBits(offsetV);
            result = 991 * result + JavaUtils.floatToRawIntBits(scaleU);
            result = 991 * result + JavaUtils.floatToRawIntBits(scaleV);
            result = 991 * result + uvIndex;
            return(result);
        }