Example usage for javax.microedition.khronos.opengles GL10 GL_MAX_TEXTURE_UNITS

List of usage examples for javax.microedition.khronos.opengles GL10 GL_MAX_TEXTURE_UNITS

Introduction

In this page you can find the example usage for javax.microedition.khronos.opengles GL10 GL_MAX_TEXTURE_UNITS.

Prototype

int GL_MAX_TEXTURE_UNITS

To view the source code for javax.microedition.khronos.opengles GL10 GL_MAX_TEXTURE_UNITS.

Click Source Link

Usage

From source file:Main.java

public static int[] getMaxTextureUnits(GL10 gl) {
    gl.glGetIntegerv(GL10.GL_MAX_TEXTURE_UNITS, mMaxTexUnits);
    return mMaxTexUnits.array();
}