Fast manipulation with floats in a FloatBuffer

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

Fast manipulation with floats in a FloatBuffer

Postby Patton » Tue Jan 29, 2008 9:54 am

Storing values with 'put' in a FloatBuffer is pretty slow. Is there a faster way to modify values in a FloatBuffer? A float is 4-byte long, so I guess putting only bytes would be much faster, but I need floats :)
Patton
Junior Developer
Junior Developer
 
Posts: 23
Joined: Sat Jan 19, 2008 5:52 pm

Top

Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: Google [Bot] and 2 guests