public class TextureUtilsAwt
extends java.lang.Object
| Constructor and Description |
|---|
TextureUtilsAwt() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
convertToBufferedImage(ITexture texture,
int subTexture,
int level) |
static ITexture |
fromBufferedImage(java.awt.image.BufferedImage bi) |
public static java.awt.image.BufferedImage convertToBufferedImage(ITexture texture, int subTexture, int level)
texture - texture to convertsubTexture - sub texture to convert. Usually 0, must be in range [0;ITexture.getNumTextures()[BufferedImage containing the texture convertedBonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com