gestalt.candidates.materialplugin.joglutiltexture
Class JoglUtilTexture
java.lang.Object
gestalt.shape.material.TexturePlugin
gestalt.impl.jogl.shape.material.JoglTexturePlugin
gestalt.candidates.materialplugin.joglutiltexture.JoglUtilTexture
- All Implemented Interfaces:
- Disposable, MaterialPlugin
public class JoglUtilTexture
- extends JoglTexturePlugin
this class provides a proxy for the texture class shipped with the jogl util library.
it is by far not fully implemented.
| Methods inherited from class gestalt.shape.material.TexturePlugin |
bordercolor, getFilterType, getTextureUnit, getWrapMode, isInitialized, nonpoweroftwotexturerescale, position, rotation, scale, setFilterType, setTextureTarget, setTextureUnit, setWrapMode, validateBitmapSize |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoglUtilTexture
public JoglUtilTexture()
getTextureRef
public Texture getTextureRef()
setTextureRef
public void setTextureRef(Texture theJoglUtilTexture)
scheduleTextureData
public void scheduleTextureData(TextureData theScheduledTextureData)
begin
public void begin(GLContext theRenderContext,
Material theParent)
- Specified by:
begin in interface MaterialPlugin- Overrides:
begin in class JoglTexturePlugin
getTextureTarget
public final int getTextureTarget()
- Overrides:
getTextureTarget in class TexturePlugin
getOpenGLTextureID
public int getOpenGLTextureID()
- Overrides:
getOpenGLTextureID in class JoglTexturePlugin
getPixelWidth
public int getPixelWidth()
- Overrides:
getPixelWidth in class TexturePlugin
getPixelHeight
public int getPixelHeight()
- Overrides:
getPixelHeight in class TexturePlugin
load
public void load(Bitmap theBitmap)
- Overrides:
load in class TexturePlugin
reload
public void reload()
- Overrides:
reload in class TexturePlugin
bitmap
public Bitmap bitmap()
- Overrides:
bitmap in class TexturePlugin
setBitmapRef
public void setBitmapRef(Bitmap theBitmap)
- Overrides:
setBitmapRef in class TexturePlugin
getOpenGLType
public int getOpenGLType(int theType)
- Overrides:
getOpenGLType in class JoglTexturePlugin
getFormat
public int getFormat(int theType)
- Overrides:
getFormat in class JoglTexturePlugin
dispose
public void dispose(GLContext theRenderContext)
- Description copied from interface:
Disposable
- tries to properly dispose an object. for example: an opengl texture object
would try to remove its opengl counterpart.
- Specified by:
dispose in interface Disposable- Overrides:
dispose in class JoglTexturePlugin
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009