gestalt.candidates.materialplugin
Class JoglMaterialPluginCubeMap

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

public class JoglMaterialPluginCubeMap
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
JoglMaterialPluginCubeMap()
           
 
Method Summary
 void begin(GLContext theRenderContext, Material theParent)
           
 void end(GLContext theRenderContext, Material theParent)
           
 int getMaxTextureSize()
           
 void initStatic(GL gl)
           
 void load(Bitmap theBitmap_NEGX, Bitmap theBitmap_POSX, Bitmap theBitmap_NEGY, Bitmap theBitmap_POSY, Bitmap theBitmap_NEGZ, Bitmap theBitmap_POSZ)
           
 void setBitmapRef(Bitmap theBitmap)
           
 void update(GL gl, GLU glu)
           
 
Methods inherited from class gestalt.impl.jogl.shape.material.JoglTexturePlugin
bind, disable, dispose, enable, getFormat, getOpenGLTextureID, getOpenGLType, getTextureTargetAsString, setInitialized, setOpenGLTextureID
 
Methods inherited from class gestalt.shape.material.TexturePlugin
bitmap, bordercolor, getFilterType, getPixelHeight, getPixelWidth, getTextureTarget, getTextureUnit, getWrapMode, isInitialized, load, nonpoweroftwotexturerescale, position, reload, rotation, scale, setFilterType, setTextureTarget, setTextureUnit, setWrapMode, validateBitmapSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoglMaterialPluginCubeMap

public JoglMaterialPluginCubeMap()
Method Detail

initStatic

public void initStatic(GL gl)
Overrides:
initStatic in class JoglTexturePlugin

load

public void load(Bitmap theBitmap_NEGX,
                 Bitmap theBitmap_POSX,
                 Bitmap theBitmap_NEGY,
                 Bitmap theBitmap_POSY,
                 Bitmap theBitmap_NEGZ,
                 Bitmap theBitmap_POSZ)

update

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

begin

public void begin(GLContext theRenderContext,
                  Material theParent)
Specified by:
begin in interface MaterialPlugin
Overrides:
begin in class JoglTexturePlugin

end

public void end(GLContext theRenderContext,
                Material theParent)
Specified by:
end in interface MaterialPlugin
Overrides:
end in class JoglTexturePlugin

setBitmapRef

public void setBitmapRef(Bitmap theBitmap)
Overrides:
setBitmapRef in class TexturePlugin

getMaxTextureSize

public int getMaxTextureSize()
Overrides:
getMaxTextureSize in class JoglTexturePlugin


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