UNPKG

pixi.js

Version:

<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">

13 lines (12 loc) 502 B
import type { VertexFormat } from '../../../rendering/renderers/shared/geometry/const'; import type { IParticle } from './Particle'; /** @internal */ export interface ParticleRendererProperty { attributeName: string; format: VertexFormat; code: string; dynamic: boolean; updateFunction?: (ps: IParticle[], f32v: Float32Array, u32v: Uint32Array, offset: number, stride: number) => void; } /** @internal */ export declare const particleData: Record<string, ParticleRendererProperty>;