Example usage for org.lwjgl.opengl GL11 glCopyTexSubImage2D

List of usage examples for org.lwjgl.opengl GL11 glCopyTexSubImage2D

Introduction

In this page you can find the example usage for org.lwjgl.opengl GL11 glCopyTexSubImage2D.

Prototype

public static void glCopyTexSubImage2D(@NativeType("GLenum") int target, @NativeType("GLint") int level,
        @NativeType("GLint") int xoffset, @NativeType("GLint") int yoffset, @NativeType("GLint") int x,
        @NativeType("GLint") int y, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height) 

Source Link

Document

Respecifies a rectangular subregion of an existing texel array.

Usage

From source file:org.oscim.gdx.LwjglGL20.java

License:Apache License

public void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width,
        int height) {
    GL11.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
}

From source file:playn.java.JavaGL20.java

License:Apache License

@Override
public void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width,
        int height) {
    GL11.glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
}

From source file:processing.lwjgl.PLWJGL.java

License:Open Source License

public void copyTexSubImage2D(int target, int level, int xOffset, int yOffset, int x, int y, int width,
        int height) {
    GL11.glCopyTexSubImage2D(target, level, x, y, xOffset, yOffset, width, height);
}

From source file:processing.opengl.PLWJGL.java

License:Open Source License

@Override
public void copyTexSubImage2D(int target, int level, int xOffset, int yOffset, int x, int y, int width,
        int height) {
    GL11.glCopyTexSubImage2D(target, level, x, y, xOffset, yOffset, width, height);
}

From source file:rtype.Prototyp.java

License:Open Source License

private void saveScreen() {
    GL11.glLoadIdentity();/*from  www .j  a  v a 2s  . c  o  m*/
    GL11.glBindTexture(GL11.GL_TEXTURE_2D, SCREEN_TEXTURE_ID);
    GL11.glCopyTexSubImage2D(GL11.GL_TEXTURE_2D, 0, 0, 0, 0, 0, (int) SCREEN_WIDTH, (int) SCREEN_HEIGHT);

}

From source file:tk.ivybits.engine.gl.GL.java

License:Open Source License

public static void glCopyTexSubImage2D(int a, int b, int c, int d, int e, int f, int g, int h) {
    GL11.glCopyTexSubImage2D(a, b, c, d, e, f, g, h);
}