It may be possible to optimize step 2-3 on some hardware by using generateMipmap() and reading back the highest mip level, multiplying the result by the total number of pixels.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |