title: C# fast pixel rendering
body: <p>I'm developing depth processing (Xbox Kinect, Asus Xtion, etc) applications using OpenNI.</p>
  
  <p>I need a really simple and fast way of drawing on a Windows form when new depth data is available from the sensor (30 or 60 fps depending on resolution).</p>
  
  <p>Currently I'm invalidating a double-buffered panel from a seperate thread when the data becomes available, and then setting pixels of a bitmap in the panel's paint method, yielding a predictably awful 5fps.</p>
  
  <p>System.Drawing.Graphics seems to lack a fast way to set individual pixels, unless anyone can instruct otherwise.</p>
  
  <p>I literally just need to set pixel colours, so would like to avoid using third party high speed rendering APIs if possible, and ideally use something as native as possible.</p>
  
  <p>Does anyone have any suggestions?</p>