Friday, February 24, 2012

[android-developers] How to changue the texture of a polygon efficiently?

I have a symple square polygon (from nehe tutorials) with a texture.

The polygon haves a bitmap and the method loadGLTexture(GL10 gl,
Context context) is called once, when the polygon is created, to load
the texture.

I need to add the functionality to my app to change the texture of the
square.

Wich is the best way to change the texture of a polygon? can't find
the right way on google...

thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment