Java Code Examples for org.andengine.opengl.util.GLState#activeTexture()
The following examples show how to use
org.andengine.opengl.util.GLState#activeTexture() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Texture.java From tilt-game-android with MIT License | 4 votes |
@Override public void bind(final GLState pGLState, final int pGLActiveTexture) { pGLState.activeTexture(pGLActiveTexture); pGLState.bindTexture(this.mHardwareTextureID); }
Example 2
Source File: Texture.java From 30-android-libraries-in-30-days with Apache License 2.0 | 4 votes |
@Override public void bind(final GLState pGLState, final int pGLActiveTexture) { pGLState.activeTexture(pGLActiveTexture); pGLState.bindTexture(this.mHardwareTextureID); }