我需要决定我是否应当利用GL_UNSignED_SHORT或GL_FLOAT为我(法定)的VBO作广告。 短时间利用的记忆少了2倍,但也会降低出勤速度(因为万国邮联必须将其转换为浮动)? 文本坐标的样子,我可以使用GL_ UNSignED_BYTE for small textures and GL_UNSIGNED_SHORT for greater them (use a texturemap to 0-1),但我担心这会降低速度。
For example, let s say I want to find a particular word or number in a file. The contents are in sorted order (obviously). Since I want to run a binary search on the file, it seems like a real waste ...