gestalt.impl.jogl.shape.material
Class JoglTexturePlugin
java.lang.Object
gestalt.shape.material.TexturePlugin
gestalt.impl.jogl.shape.material.JoglTexturePlugin
- All Implemented Interfaces:
- Disposable, MaterialPlugin
- Direct Known Subclasses:
- FrameBufferDepth, JoglCustomMipMap, JoglFrameBufferObject, JoglMaterialPluginCubeMap, JoglMaterialPluginNonPowerOfTwoTexture, JoglMaterialPluginTexture3D, JoglPointSprites, JoglProcessingFrameBufferObject, JoglProxyTexturePlugin, JoglUtilTexture
public class JoglTexturePlugin
- extends TexturePlugin
| Methods inherited from class gestalt.shape.material.TexturePlugin |
bitmap, bordercolor, getFilterType, getPixelHeight, getPixelWidth, getTextureTarget, getTextureUnit, getWrapMode, isInitialized, load, nonpoweroftwotexturerescale, position, reload, rotation, scale, setBitmapRef, setFilterType, setTextureTarget, setTextureUnit, setWrapMode, validateBitmapSize |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoglTexturePlugin
public JoglTexturePlugin()
initStatic
public void initStatic(GL gl)
bind
public void bind(GL gl)
enable
public void enable(GL gl)
disable
public void disable(GL gl)
begin
public void begin(GLContext theRenderContext,
Material theParent)
end
public void end(GLContext theRenderContext,
Material theParent)
setInitialized
public void setInitialized()
update
public void update(GL gl,
GLU glu)
getOpenGLTextureID
public int getOpenGLTextureID()
setOpenGLTextureID
public void setOpenGLTextureID(int theOpenGLTextureID)
getOpenGLType
public int getOpenGLType(int theType)
getFormat
public int getFormat(int theType)
getMaxTextureSize
public int getMaxTextureSize()
- Specified by:
getMaxTextureSize in class TexturePlugin
getTextureTargetAsString
public java.lang.String getTextureTargetAsString()
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.
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009