title: How to set HLSL parameter of type float2?
body: <p>I was wondering how one can set a parameter <code>p</code> of type <code>float2</code> in an HLSL shader effect <code>e</code> using C# ?</p>
  
  <pre><code>e.Parameters["p.x"].SetValue(1); 
  e.Parameters["p.y"].SetValue(2); 
  </code></pre>
  
  <p>seems to not work.</p>