public void SetDepthBias(float constantBias, float slopeScaleBias)
 {
     for (int i = 0; i < techniques.Count; i++)
     {
         Technique technique = (Technique)techniques[i];
         technique.SetDepthBias(constantBias, slopeScaleBias);
     }
 }