gestalt.candidates.materialplugin
Class JoglCustomMipMap

java.lang.Object
  extended by gestalt.shape.material.TexturePlugin
      extended by gestalt.impl.jogl.shape.material.JoglTexturePlugin
          extended by gestalt.candidates.materialplugin.JoglCustomMipMap
All Implemented Interfaces:
Disposable, MaterialPlugin

public class JoglCustomMipMap
extends JoglTexturePlugin


Field Summary
 
Fields inherited from class gestalt.shape.material.TexturePlugin
ERROR_BITMAP_REFERANCE_NULL, ERROR_EXCEEDED_SIZE, HINT_TEXTURE_FLIP_Y_AXIS
 
Constructor Summary
JoglCustomMipMap(ByteBitmap[] theBitmaps)
           
 
Method Summary
static ByteBitmap[] createBluredBitmapSequence(ByteBitmap myBitmap, int theBlurRadius)
           
 int getPixelHeight()
           
 int getPixelWidth()
           
 void update(GL gl, GLU glu)
           
 
Methods inherited from class gestalt.impl.jogl.shape.material.JoglTexturePlugin
begin, bind, disable, dispose, enable, end, getFormat, getMaxTextureSize, getOpenGLTextureID, getOpenGLType, getTextureTargetAsString, initStatic, setInitialized, setOpenGLTextureID
 
Methods inherited from class gestalt.shape.material.TexturePlugin
bitmap, bordercolor, getFilterType, 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
 

Constructor Detail

JoglCustomMipMap

public JoglCustomMipMap(ByteBitmap[] theBitmaps)
Method Detail

createBluredBitmapSequence

public static ByteBitmap[] createBluredBitmapSequence(ByteBitmap myBitmap,
                                                      int theBlurRadius)

getPixelWidth

public int getPixelWidth()
Overrides:
getPixelWidth in class TexturePlugin

getPixelHeight

public int getPixelHeight()
Overrides:
getPixelHeight in class TexturePlugin

update

public void update(GL gl,
                   GLU glu)
Overrides:
update in class JoglTexturePlugin


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009