List of usage examples for android.opengl GLES20 GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
To view the source code for android.opengl GLES20 GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS.
Click Source Link
From source file:Main.java
/** * Gets the total number of texture units available * * @return/* www. j ava 2 s . com*/ */ public static int getNumTextureUnits() { int[] numTextureUnits = new int[1]; GLES20.glGetIntegerv(GLES20.GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, numTextureUnits, 0); return numTextureUnits[0]; }