org.jzy3d.plot3d.rendering.textures
Class SharedTexture
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.textures.SharedTexture
-
- All Implemented Interfaces:
- IGLBindedResource
- Direct Known Subclasses:
- BufferedImageTexture
public class SharedTexture extends java.lang.Object implements IGLBindedResource
-
-
Constructor Summary
Constructors Constructor and Description SharedTexture(java.lang.String file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description com.jogamp.opengl.util.texture.TextureCoordsgetCoords()java.lang.StringgetFile()floatgetHalfHeight()floatgetHalfWidth()com.jogamp.opengl.util.texture.TexturegetTexture(com.jogamp.opengl.GL gl)booleanhasMountedOnce()Return true if mount(...) has been called at least one timevoidmount(com.jogamp.opengl.GL gl)A GL2 context MUST be current.
-
-
-
Method Detail
-
getTexture
public com.jogamp.opengl.util.texture.Texture getTexture(com.jogamp.opengl.GL gl)
-
mount
public void mount(com.jogamp.opengl.GL gl)
A GL2 context MUST be current.- Specified by:
mountin interfaceIGLBindedResource
-
hasMountedOnce
public boolean hasMountedOnce()
Description copied from interface:IGLBindedResourceReturn true if mount(...) has been called at least one time- Specified by:
hasMountedOncein interfaceIGLBindedResource
-
getFile
public java.lang.String getFile()
-
getCoords
public com.jogamp.opengl.util.texture.TextureCoords getCoords()
-
getHalfWidth
public float getHalfWidth()
-
getHalfHeight
public float getHalfHeight()
-
-
DMelt 3.0 © DataMelt by jWork.ORG