gestalt.extension.gpgpu.particles
Class GPGPU2DParticlesSimulation

java.lang.Object
  extended by gestalt.shape.AbstractDrawable
      extended by gestalt.extension.gpgpu.particles.GPGPU2DParticlesSimulation
All Implemented Interfaces:
Drawable

public class GPGPU2DParticlesSimulation
extends AbstractDrawable


Nested Class Summary
 class GPGPU2DParticlesSimulation.ParticleDrawer
           
 
Constructor Summary
GPGPU2DParticlesSimulation(ShaderManager theShaderManager, int theWidth, int theHeight, int theScreenWidth, int theScreenHeight)
           
 
Method Summary
 void draw(GLContext theRenderContext)
          this method is used to draw the drawable, when the context is ready.
 void setDeltaTime(float theDeltaTime)
           
 GPGPU2DParticlesSimulation.ParticleDrawer view()
           
 
Methods inherited from class gestalt.shape.AbstractDrawable
add, getSortData, getSortValue, isActive, isSortable, setSortValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPGPU2DParticlesSimulation

public GPGPU2DParticlesSimulation(ShaderManager theShaderManager,
                                  int theWidth,
                                  int theHeight,
                                  int theScreenWidth,
                                  int theScreenHeight)
Method Detail

setDeltaTime

public void setDeltaTime(float theDeltaTime)

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

view

public GPGPU2DParticlesSimulation.ParticleDrawer view()


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