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 BufferedImageimage-
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.TexturegetTexture(IPainter painter)protected voidload(com.jogamp.opengl.GL gl, BufferedImage image)voidmount(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:
getTexturein classSharedTexture
-
mount
public void mount(IPainter painter)
A GL2 context MUST be current.- Specified by:
mountin interfaceIGLBindedResource- Overrides:
mountin classSharedTexture
-
load
protected void load(com.jogamp.opengl.GL gl, BufferedImage image)
-
-