gestalt.extension.gpgpu.cawater
Class GPGPUCAWater.WaterTexture

java.lang.Object
  extended by gestalt.shape.material.TexturePlugin
      extended by gestalt.extension.gpgpu.cawater.GPGPUCAWater.WaterTexture
All Implemented Interfaces:
Disposable, MaterialPlugin
Enclosing class:
GPGPUCAWater

public class GPGPUCAWater.WaterTexture
extends TexturePlugin


Field Summary
 
Fields inherited from class gestalt.shape.material.TexturePlugin
ERROR_BITMAP_REFERANCE_NULL, ERROR_EXCEEDED_SIZE, HINT_TEXTURE_FLIP_Y_AXIS
 
Constructor Summary
GPGPUCAWater.WaterTexture()
           
 
Method Summary
 void begin(GLContext theRenderContext, Material theParentMaterial)
           
 void dispose(GLContext theRenderContext)
          tries to properly dispose an object.
 void end(GLContext theRenderContext, Material theParent)
           
 int getMaxTextureSize()
           
 int getPixelHeight()
           
 int getPixelWidth()
           
 
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

GPGPUCAWater.WaterTexture

public GPGPUCAWater.WaterTexture()
Method Detail

getMaxTextureSize

public int getMaxTextureSize()
Specified by:
getMaxTextureSize in class TexturePlugin

getPixelWidth

public int getPixelWidth()
Overrides:
getPixelWidth in class TexturePlugin

getPixelHeight

public int getPixelHeight()
Overrides:
getPixelHeight in class TexturePlugin

begin

public void begin(GLContext theRenderContext,
                  Material theParentMaterial)

end

public void end(GLContext theRenderContext,
                Material theParent)

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