Login  Register

Re: Port to JOGL2 questions

Posted by Demoscene Passivist on Nov 05, 2010; 2:12am
URL: https://forum.jogamp.org/Port-to-JOGL2-questions-tp1845722p1846004.html

>com.sun.opengl.util.BufferUtil

use com.jogamp.common.nio.Buffers instead ...

>TextureIO.newTexture(BufferedImage, boolean) seams away. Can I load a buffered image?

try com.jogamp.opengl.util.texture.awt.AWTTextureIO.newTexture(GLProfile.getDefault(), tBufferedImage, true);

Hope that helps a little bit. The other things I haven't used myself but I'm pretty sure they are there :)