Code example for GL10

Methods: glTexSubImage2D

0
        mgl11.glTexParameteriv(target, pname, params);
    } 
 
    @Override 
	public void glTexSubImage2D(int target, int level, int xoffset,int yoffset, int width, int height, int format, int type,Buffer pixels) {
        mgl.glTexSubImage2D(target, level, xoffset, yoffset, width, height,format, type, pixels);
    } 
 
    @Override 
	public void glVertexPointer(int size, int type,int stride, Buffer pointer) {
        mgl.glVertexPointer(size, type, stride, pointer);
    } 
 
    @Override 
	public void glViewport(int x, int y, int width, int height) {
        mgl.glViewport(x, y, width, height);
    } 
 
    @Override 
	public void glClipPlanef(int plane, float[] equation, int offset) {
        mgl11.glClipPlanef(plane, equation, offset);