ParticleControllerRenderData
| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected Camera | |
| protected int | |
| protected Array | |
| protected ParticleSorter |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | |
| public void | begin()
Implements com. Must be called once before any drawing operation |
| public void | |
| public void | end()
Implements com. Must be called after all the drawing operations |
| public void | |
| protected abstract void | |
| public int | |
| public ParticleSorter | |
| public void | |
| public void | |
| public void |
| bufferedParticlesCount | back to summary |
|---|---|
| protected int bufferedParticlesCount | |
| camera | back to summary |
|---|---|
| protected Camera camera | |
| currentCapacity | back to summary |
|---|---|
| protected int currentCapacity | |
| renderData | back to summary |
|---|---|
| protected Array<T> renderData | |
| sorter | back to summary |
|---|---|
| protected ParticleSorter sorter | |
| BufferedParticleBatch | back to summary |
|---|---|
| protected BufferedParticleBatch(Class<T> type)
Deprecated
| |
| BufferedParticleBatch | back to summary |
|---|---|
| protected BufferedParticleBatch(ArraySupplier<T[]> arraySupplier) | |
| allocParticlesData | back to summary |
|---|---|
| protected abstract void allocParticlesData(int capacity) | |
| begin | back to summary |
|---|---|
| public void begin() Implements com. Doc from com. Must be called once before any drawing operation | |
| draw | back to summary |
|---|---|
| public void draw(T data) Implements com.
| |
| end | back to summary |
|---|---|
| public void end() Implements com. Doc from com. Must be called after all the drawing operations | |
| ensureCapacity | back to summary |
|---|---|
| public void ensureCapacity(int capacity) Ensure the batch can contain the passed in amount of particles | |
| flush | back to summary |
|---|---|
| protected abstract void flush(int[] offsets) Sends the data to the gpu. This method must use the calculated offsets to build the particles meshes. The offsets represent the position at which a particle should be placed into the vertex array.
| |
| getBufferedCount | back to summary |
|---|---|
| public int getBufferedCount() | |
| getSorter | back to summary |
|---|---|
| public ParticleSorter getSorter() | |
| resetCapacity | back to summary |
|---|---|
| public void resetCapacity() | |
| setCamera | back to summary |
|---|---|
| public void setCamera(Camera camera) | |
| setSorter | back to summary |
|---|---|
| public void setSorter(ParticleSorter sorter) | |