Package javax.media.opengl

Examples of javax.media.opengl.GL2.glCopyTexSubImage2D()


      }

      image.texture.enable(gl);
      image.texture.bind(gl)
      // copy buffer to image
      gl.glCopyTexSubImage2D(image.texture.getTarget(), 0, 0, 0, 0, 0, image.getWidth(), image.getHeight());
      image.texture.disable(gl);
     
      endDrawing();
    }
    public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) {}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.