java - How do you put a BufferedImage into a ByteBuffer? -
i have bufferedimage, need make bytebuffer can apply cubemap face.
create byte[] bufferedimage can put bytebuffer.
example create byte[] can found here: http://www.mkyong.com/java/how-to-convert-bufferedimage-to-byte-in-java/
Comments
Post a Comment