shapeTexture
shapeTexture(
shape):TextureResource
Defined in: particles/src/shapes.ts:86
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.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”TextureResource
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/particles.md.