Emitter Render Order

These constants specify the order that emitter cells are composited. They are used by the renderMode property.

Topics

Constants

kCAEmitterLayerUnordered

Particles are rendered unordered. This mode uses source-over compositing.

kCAEmitterLayerOldestFirst

Particles are rendered oldest first. This mode uses source-over compositing.

kCAEmitterLayerOldestLast

Particles are rendered oldest last. This mode uses source-over compositing.

kCAEmitterLayerBackToFront

Particles are rendered from back to front, sorted by z-position. This mode uses source-over compositing.

kCAEmitterLayerAdditive

The particles are rendered using source-additive compositing.