English
Interface: EffectDrawItem
Defined in: src/EffectBatchPlanner.ts:8
One particle emitter group of one effect part, ready to be built and drawn.
Properties
blend
blend:
number
Defined in: src/EffectBatchPlanner.ts:16
Raw EmitterState.blend_type (0 = Mix, 1 = Add) — the other half.
cellmap
cellmap:
number
Defined in: src/EffectBatchPlanner.ts:14
Cell-map hash the particles sample — half of the batching key.
partAlpha
partAlpha:
number
Defined in: src/EffectBatchPlanner.ts:22
The effect part's own opacity, folded into the vertex alpha.
particleOffset
particleOffset:
number
Defined in: src/EffectBatchPlanner.ts:20
Where this command's particles start in the plan's shared flat buffers.
partIdx
partIdx:
number
Defined in: src/EffectBatchPlanner.ts:10
The effect part this command belongs to.
plan
plan:
EffectDrawPlan
Defined in: src/EffectBatchPlanner.ts:12
The part's draw plan. A zero-copy view over WASM memory.
quadCount
quadCount:
number
Defined in: src/EffectBatchPlanner.ts:18
Quads in this command; 4 vertices and 6 indices each.