64 return newTextureDataImpl(glp, image, 0, 0, mipmap);
100 return newTextureDataImpl(glp, image, internalFormat, pixelFormat, mipmap);
Represents the data for an OpenGL texture.
void flush()
Flushes resources associated with this TextureData by calling Flusher.flush().
Represents an OpenGL texture object.
static Texture newTexture(final GLProfile glp, final BufferedImage image, final boolean mipmap)
Creates an OpenGL texture object from the specified BufferedImage using the current OpenGL context.
static TextureData newTextureData(final GLProfile glp, final BufferedImage image, final boolean mipmap)
Creates a TextureData from the given BufferedImage.
static TextureData newTextureData(final GLProfile glp, final BufferedImage image, final int internalFormat, final int pixelFormat, final boolean mipmap)
Creates a TextureData from the given BufferedImage, using the specified OpenGL internal format and pi...