title: Fast way to set byte array to unity texture2d
body: <p>In unity3d  I get image from camera (color camera device) as byte array from a plugin , and I want show image in real-time in screen .</p>
  
  <p>If i use <code>Texture2D.SetPixels32</code> for making a texture, it <strong>decrease fps dramatically</strong> ( from 80 to 10).</p>
  
  <pre><code>//First convert byte[] to color[]
    colorr = GetColor(imageBuffer);
  
    imageColor.SetPixels32(colorr);
    imageColor.Apply();   // fps reduced here
  </code></pre>
  
  <p>I guess I need to do this with a shader on GPU .</p>
  
  <p>So what is solution to do this faster ? 
  If answer is using shader , can give a sample .</p>
  
  <p>Thx.</p>