gestalt.extension.gpgpu.cawater
Class GPGPUCAWater
java.lang.Object
gestalt.shape.AbstractDrawable
gestalt.extension.gpgpu.cawater.GPGPUCAWater
- All Implemented Interfaces:
- Drawable
public class GPGPUCAWater
- extends AbstractDrawable
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
flow_direction
public Vector2f flow_direction
damping
public float damping
GPGPUCAWater
public GPGPUCAWater(ShaderManager theShaderManager,
JoglTexturePlugin theInputEnergyMap,
java.lang.String theParticleFragShader,
java.lang.String theWaterDrawerShader)
attachWater
public void attachWater(Material theMaterial)
- attaches a texture and a shader to the referenced material.
draw
public void draw(GLContext theRenderContext)
- Description copied from interface:
Drawable
- this method is used to draw the drawable, when the context is ready.
although the behavior sometimes varies and doesn t always need to
have a visual representation depending on the implementation.
- Parameters:
theRenderContext - GLContext
getReadBuffer
public JoglFrameBufferObject getReadBuffer()
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009