public abstract class BufferedParticleBatch<T extends ParticleControllerRenderData> extends Object implements ParticleBatch<T>
ParticleControllerRenderData| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Must be called once before any drawing operation
|
void |
draw(T data) |
void |
end()
Must be called after all the drawing operations
|
void |
ensureCapacity(int capacity)
Ensure the batch can contain the passed in amount of particles
|
int |
getBufferedCount() |
ParticleSorter |
getSorter() |
void |
resetCapacity() |
void |
setCamera(Camera camera) |
void |
setSorter(ParticleSorter sorter) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitload, savegetRenderablespublic void begin()
ParticleBatchbegin in interface ParticleBatch<T extends ParticleControllerRenderData>public void draw(T data)
draw in interface ParticleBatch<T extends ParticleControllerRenderData>public void end()
ParticleBatchend in interface ParticleBatch<T extends ParticleControllerRenderData>public void ensureCapacity(int capacity)
public void resetCapacity()
public void setCamera(Camera camera)
public ParticleSorter getSorter()
public void setSorter(ParticleSorter sorter)
public int getBufferedCount()
Copyright © 2021. All rights reserved.