Skip to content

shapeTexture

shapeTexture(shape): TextureResource

Defined in: particles/src/shapes.ts:78

Resolve a built-in shape to its texture. The returned texture is shared by every emitter using that shape and size, so callers must never destroy it.

ParticleShape | ShapeConfig

TextureResource