Code example for GL10

Methods: glCompressedTexImage2D

0
        mgl.glColorPointer(size, type, stride, pointer);
    } 
 
    @Override 
	public void glCompressedTexImage2D(int target, int level,int internalformat, int width, int height, int border,int imageSize, Buffer data) {
        mgl.glCompressedTexImage2D(target, level, internalformat, width,height, border, imageSize, data);
    } 
 
    @Override 
	public void glCompressedTexSubImage2D(int target, int level, int xoffset,int yoffset, int width, int height, int format, int imageSize,Buffer data) {
        mgl.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width,height, format, imageSize, data);
    } 
 
    @Override 
	public void glCopyTexImage2D(int target, int level, int internalformat,int x, int y, int width, int height, int border) {
        mgl.glCopyTexImage2D(target, level, internalformat, x, y, width,height, border);
    } 
 
    @Override 
	public void glCopyTexSubImage2D(int target, int level, int xoffset,int yoffset, int x, int y, int width, int height) {
        mgl.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width,height);