public class PointSpriteParticleBatch extends BufferedParticleBatch<PointSpriteControllerRenderData>
Constructor and Description |
---|
PointSpriteParticleBatch() |
PointSpriteParticleBatch(int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
getRenderables(Array<Renderable> renderables,
Pool<Renderable> pool)
Returns
Renderable instances. |
Texture |
getTexture() |
void |
load(AssetManager manager,
ResourceData resources) |
void |
save(AssetManager manager,
ResourceData resources) |
void |
setTexture(Texture texture) |
begin, draw, end, ensureCapacity, getBufferedCount, getSorter, resetCapacity, setCamera, setSorter
public PointSpriteParticleBatch()
public PointSpriteParticleBatch(int capacity)
public void setTexture(Texture texture)
public Texture getTexture()
public void getRenderables(Array<Renderable> renderables, Pool<Renderable> pool)
RenderableProvider
Renderable
instances. Renderables are obtained from the provided Pool
and added to the provided
array. The Renderables obtained using Pool.obtain()
will later be put back into the pool, do not store them
internally. The resulting array can be rendered via a ModelBatch
.renderables
- the output arraypool
- the pool to obtain Renderables frompublic void save(AssetManager manager, ResourceData resources)
public void load(AssetManager manager, ResourceData resources)
Copyright © 2014. All rights reserved.