Exemplo n.º 1
0
 public override void TakeOverParameterValue(ShaderParameter otherParameter)
 {
     if (GetParamType() == otherParameter.GetParamType())
     {
         d_parameterValue = ((ShaderParameterFloat)otherParameter).d_parameterValue;
     }
 }
Exemplo n.º 2
0
        public override bool Equal(ShaderParameter otherParameter)
        {
            if (GetParamType() == otherParameter.GetParamType())
            {
                return(d_parameterValue == ((ShaderParameterFloat)otherParameter).d_parameterValue);
            }


            return(false);
        }