gestalt.extension.gpgpu.cawater
Class GPGPUCAWater.WaterTexture
java.lang.Object
gestalt.shape.material.TexturePlugin
gestalt.extension.gpgpu.cawater.GPGPUCAWater.WaterTexture
- All Implemented Interfaces:
- Disposable, MaterialPlugin
- Enclosing class:
- GPGPUCAWater
public class GPGPUCAWater.WaterTexture
- extends TexturePlugin
| 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 |
GPGPUCAWater.WaterTexture
public GPGPUCAWater.WaterTexture()
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