public class BufferedImageTexture extends SharedTexture
| Modifier and Type | Field and Description |
|---|---|
protected BufferedImage |
image |
coords, file, halfHeight, halfWidth, texture, textureMagnificationFilter, textureMinificationFilter, useMipMap| Constructor and Description |
|---|
BufferedImageTexture(BufferedImage image) |
| Modifier and Type | Method and Description |
|---|---|
com.jogamp.opengl.util.texture.Texture |
getTexture(com.jogamp.opengl.GL gl) |
protected void |
load(com.jogamp.opengl.GL gl,
BufferedImage image) |
void |
mount(com.jogamp.opengl.GL gl)
A GL2 context MUST be current.
|
getCoords, getFile, getHalfHeight, getHalfWidth, getTextureMagnificationFilter, getTextureMinificationFilter, hasMountedOnce, isUseMipMap, load, setTextureMagnificationFilter, setTextureMinificationFilter, setUseMipMapprotected BufferedImage image
public BufferedImageTexture(BufferedImage image)
public com.jogamp.opengl.util.texture.Texture getTexture(com.jogamp.opengl.GL gl)
getTexture in class SharedTexturepublic void mount(com.jogamp.opengl.GL gl)
mount in interface IGLBindedResourcemount in class SharedTextureprotected void load(com.jogamp.opengl.GL gl,
BufferedImage image)
Copyright © 2021. All rights reserved.