Quantcast
Channel: Answers for "For different texture sizes, which is faster? SetPixel or SetPixels?"
Browsing latest articles
Browse All 6 View Live

Answer by Wolfram

Your second code example is wrong, you are assigning 90000 times the same pixel array to your texture, which doesn't make sense. To answer your question, SetPixel() will be significantly slower,...

View Article


Answer by Eric5h5

The times when it makes sense to use SetPixel instead of SetPixels is if you're only changing a relatively few individual pixels in different places, and you don't want the overhead of getting an...

View Article

Browsing latest articles
Browse All 6 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>