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) • 473 B
TypeScript
import type { IParticle } from '../Particle';
import type { ParticleRendererProperty } from '../particleData';
/** @internal */
export type ParticleUpdateFunction = (ps: IParticle[], f32v: Float32Array, u32v: Uint32Array) => void;
/**
* @param properties
* @internal
*/
export declare function generateParticleUpdateFunction(properties: Record<string, ParticleRendererProperty>): {
dynamicUpdate: ParticleUpdateFunction;
staticUpdate: ParticleUpdateFunction;
};