Jason Mitchell

XNA Texture2D Creation: byte[] vs. Color[]

This is just a quick article to share this interesting article by Jonny Hughes about the difference in performance between using a byte array and a Color array to generate data for a new Texture2D object in XNA.  The results surprised me a bit; I didn’t expect the use of the Color object to use so much more processor time.

No related posts.


Categorised as: XNA


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Spam protection by WP Captcha-Free