PIXI.ParticleBuffer
private class ParticleBuffer
The particle buffer manages the static and dynamic buffers for a particle container.
Constructor
new PIXI.ParticleBuffer(properties: object, dynamicPropertyFlags: Array<boolean>, size: number) → {}
| Name | Type | Description |
|---|---|---|
| properties | object |
The properties to upload. |
| dynamicPropertyFlags | Array<boolean> |
Flags for which properties are dynamic. |
| size | number |
The size of the batch. |
Summary
Properties from ParticleBuffer
| PIXI.Buffer |
Holds the indices of the geometry (quads) to draw. |
Methods from ParticleBuffer
| void |
Destroys the ParticleBuffer. |
| void |
|
| void |
|
Public Properties
indexBuffer: PIXI.Buffer
Holds the indices of the geometry (quads) to draw.
Public Methods
destroy() → {void}
Destroys the ParticleBuffer.
| Type | Description |
|---|---|
| void |
uploadDynamic(children: PIXI.Sprite[], startIndex: number, amount: number) → {void}
Uploads the dynamic properties.
| Name | Type | Description |
|---|---|---|
| children | PIXI.Sprite[] |
The children to upload. |
| startIndex | number |
The index to start at. |
| amount | number |
The number to upload. |
| Type | Description |
|---|---|
| void |
uploadStatic(children: PIXI.Sprite[], startIndex: number, amount: number) → {void}
Uploads the static properties.
| Name | Type | Description |
|---|---|---|
| children | PIXI.Sprite[] |
The children to upload. |
| startIndex | number |
The index to start at. |
| amount | number |
The number to upload. |
| Type | Description |
|---|---|
| void |