| Name | Type | Description |
|---|---|---|
renderer |
PIXI.Renderer |
The renderer this sprite batch works for. |
Members
-
shader PIXI.Shader
-
The default shader that is used if a sprite doesn't have a more specific one.
Methods
-
Destroys the ParticleRenderer.
-
generateBuffers (container)Array.<PIXI.ParticleBuffer>
-
Creates one particle buffer for each child in the container we want to render and updates internal properties
Name Type Description containerPIXI.ParticleContainer The container to render using this ParticleRenderer
Returns:
Type Description Array.<PIXI.ParticleBuffer> The buffers -
Renders the particle container object.
Name Type Description containerPIXI.ParticleContainer The container to render using this ParticleRenderer
-
Name Type Description childrenArray.<PIXI.DisplayObject> the array of display objects to render
startIndexnumber the index to start from in the children array
amountnumber the amount of children that will have their positions uploaded
arrayArray.<number> The vertices to upload.
stridenumber Stride to use for iteration.
offsetnumber Offset to start at.
-
Name Type Description childrenArray.<PIXI.DisplayObject> the array of display objects to render
startIndexnumber the index to start from in the children array
amountnumber the amount of children that will have their rotation uploaded
arrayArray.<number> The vertices to upload.
stridenumber Stride to use for iteration.
offsetnumber Offset to start at.
-
Name Type Description childrenArray.<PIXI.DisplayObject> the array of display objects to render
startIndexnumber the index to start from in the children array
amountnumber the amount of children that will have their rotation uploaded
arrayArray.<number> The vertices to upload.
stridenumber Stride to use for iteration.
offsetnumber Offset to start at.
-
Name Type Description childrenArray.<PIXI.DisplayObject> the array of display objects to render
startIndexnumber the index to start from in the children array
amountnumber the amount of children that will have their rotation uploaded
arrayArray.<number> The vertices to upload.
stridenumber Stride to use for iteration.
offsetnumber Offset to start at.
-
Uploads the verticies.
Name Type Description childrenArray.<PIXI.DisplayObject> the array of display objects to render
startIndexnumber the index to start from in the children array
amountnumber the amount of children that will have their vertices uploaded
arrayArray.<number> The vertices to upload.
stridenumber Stride to use for iteration.
offsetnumber Offset to start at.