Home | History | Annotate | Download | only in batches
      1 package com.badlogic.gdx.graphics.g3d.particles.batches;
      2 
      3 import com.badlogic.gdx.assets.AssetManager;
      4 import com.badlogic.gdx.graphics.g3d.RenderableProvider;
      5 import com.badlogic.gdx.graphics.g3d.particles.ResourceData;
      6 import com.badlogic.gdx.graphics.g3d.particles.renderers.ParticleControllerRenderData;
      7 
      8 /** Common interface to all the batches that render particles.
      9  * @author Inferno */
     10 public interface ParticleBatch<T extends ParticleControllerRenderData> extends RenderableProvider, ResourceData.Configurable {
     11 
     12 	/** Must be called once before any drawing operation*/
     13 	public void begin();
     14 	public void draw (T controller);
     15 	/** Must be called after all the drawing operations */
     16 	public void end();
     17 
     18 	public void save (AssetManager manager, ResourceData assetDependencyData);
     19 	public void load (AssetManager manager, ResourceData assetDependencyData);
     20 }
     21