Android获取OpenGL支持最大尺寸

public static int getOpenGLMaxSize() {
        int[] maxSize = new int[1];
        GLES10.glGetIntegerv(GL10.GL_MAX_TEXTURE_SIZE, maxSize, 0);
        return maxSize[0];
    }

 

Leave a Reply

Your email address will not be published.