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

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

Introduction

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

Prototype

int GL_MAX_TEXTURE_SIZE

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

Click Source Link

Usage

From source file:Main.java

public static int[] getMaxTextureSize(GL10 gl) {
    gl.glGetIntegerv(GL10.GL_MAX_TEXTURE_SIZE, mMaxTexSize);
    return mMaxTexSize.array();
}