org.jzy3d.plot3d.rendering.textures
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
-
-
Constructor Summary
Constructors Constructor and Description BufferedImageTexture(java.awt.image.BufferedImage image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description com.jogamp.opengl.util.texture.TextureCoordsgetCoords()java.lang.StringgetFile()returns nullfloatgetHalfHeight()floatgetHalfWidth()com.jogamp.opengl.util.texture.TexturegetTexture(com.jogamp.opengl.GL gl)voidmount(com.jogamp.opengl.GL gl)A GL2 context MUST be current.-
Methods inherited from class org.jzy3d.plot3d.rendering.textures.SharedTexture
hasMountedOnce
-
-
-
-
Constructor Detail
-
BufferedImageTexture
public BufferedImageTexture(java.awt.image.BufferedImage image)
-
-
Method Detail
-
getTexture
public com.jogamp.opengl.util.texture.Texture getTexture(com.jogamp.opengl.GL gl)
- Overrides:
getTexturein classSharedTexture
-
mount
public void mount(com.jogamp.opengl.GL gl)
A GL2 context MUST be current.- Specified by:
mountin interfaceIGLBindedResource- Overrides:
mountin classSharedTexture
-
getFile
public java.lang.String getFile()
returns null- Overrides:
getFilein classSharedTexture
-
getCoords
public com.jogamp.opengl.util.texture.TextureCoords getCoords()
- Overrides:
getCoordsin classSharedTexture
-
getHalfWidth
public float getHalfWidth()
- Overrides:
getHalfWidthin classSharedTexture
-
getHalfHeight
public float getHalfHeight()
- Overrides:
getHalfHeightin classSharedTexture
-
-
DMelt 3.0 © DataMelt by jWork.ORG