Code example for GL10

Methods: glTexSubImage2D

0
            gl.glTexParameterx(target, pname, param);
        } 
 
        public void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels) {
            Log.v(LOG_TAG, "glTexSubImage2D()\n");
            gl.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
        } 
 
        public void glTranslatef(float x, float y, float z) {
            Log.v(LOG_TAG, "glTranslatef(" + x + "f, " + y + "f, " + z + "f)\n");
            gl.glTranslatef(x, y, z);
        } 
 
        public void glTranslatex(int x, int y, int z) {
            Log.v(LOG_TAG, "glTranslatex(" + x + ", " + y + ", " + z + ")\n");
            gl.glTranslatex(x, y, z);
        } 
 
        public void glVertexPointer(int size, int type, int stride, Buffer pointer) {
            Log.v(LOG_TAG, "glVertexPointer(" + size + ", " + getVertexPointerTypeString(type) + ", " + stride + ", pointer" + ")\n");
            gl.glVertexPointer(size, type, stride, pointer);