Wednesday, December 12, 2012

[android-developers] HelloEffects confusion

I'm looking at the HelloEffects sample, and I'm very confused.

There is this line of code:

 GLES20.glUniform1i(mTexSamplerHandle, 0);

I would think it should be:

 GLES20.glUniform1i(mTexSamplerHandle, texId);

But that doesn't work.

Can someone help me understand this line?

--
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