gestalt.extension.gpgpu.particles
Class GPGPU3DParticlesSimulation
java.lang.Object
gestalt.shape.AbstractDrawable
gestalt.extension.gpgpu.particles.GPGPU3DParticlesSimulation
- All Implemented Interfaces:
- Drawable
public class GPGPU3DParticlesSimulation
- extends AbstractDrawable
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
flow_direction
public Vector3f flow_direction
flow_speed
public float flow_speed
GPGPU3DParticlesSimulation
public GPGPU3DParticlesSimulation(ShaderManager theShaderManager,
int theWidth,
int theHeight,
int theScreenWidth,
int theScreenHeight,
JoglTexturePlugin theHeightfield,
java.lang.String theParticleVertexShader,
java.lang.String theParticleFragShader)
setView
public void setView(AbstractParticleDrawer theView)
setResetter
public void setResetter(AbstractParticleResetter theResetter)
setDeltaTime
public void setDeltaTime(float theDeltaTime)
getShaderProgram
public ShaderProgram getShaderProgram()
readback
public GPGPU3DParticlesSimulation.DataReadBack readback()
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
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009