Class BufferedImageTexture
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.textures.SharedTexture
-
- org.jzy3d.plot3d.rendering.textures.BufferedImageTexture
-
- All Implemented Interfaces:
IGLBindedResource
public class BufferedImageTexture extends SharedTexture
-
-
Field Summary
Fields Modifier and Type Field Description protected BufferedImage
image
-
Fields inherited from class org.jzy3d.plot3d.rendering.textures.SharedTexture
coords, file, halfHeight, halfWidth, texture, textureMagnificationFilter, textureMinificationFilter, useMipMap
-
-
Constructor Summary
Constructors Constructor Description BufferedImageTexture(BufferedImage image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.jogamp.opengl.util.texture.Texture
getTexture(IPainter painter)
protected void
load(com.jogamp.opengl.GL gl, BufferedImage image)
void
mount(IPainter painter)
A GL2 context MUST be current.-
Methods inherited from class org.jzy3d.plot3d.rendering.textures.SharedTexture
getCoords, getFile, getHalfHeight, getHalfWidth, getTextureMagnificationFilter, getTextureMinificationFilter, hasMountedOnce, isUseMipMap, load, setTextureMagnificationFilter, setTextureMinificationFilter, setUseMipMap
-
-
-
-
Field Detail
-
image
protected BufferedImage image
-
-
Constructor Detail
-
BufferedImageTexture
public BufferedImageTexture(BufferedImage image)
-
-
Method Detail
-
getTexture
public com.jogamp.opengl.util.texture.Texture getTexture(IPainter painter)
- Overrides:
getTexture
in classSharedTexture
-
mount
public void mount(IPainter painter)
A GL2 context MUST be current.- Specified by:
mount
in interfaceIGLBindedResource
- Overrides:
mount
in classSharedTexture
-
load
protected void load(com.jogamp.opengl.GL gl, BufferedImage image)
-
-