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) • 548 B
TypeScript
import type { IParticle } from '../../scene/particle-container/shared/Particle';
import type { ParticleRendererProperty } from '../../scene/particle-container/shared/particleData';
type ParticleUpdateFunction = (ps: IParticle[], f32v: Float32Array, u32v: Uint32Array, offset: number, stride: number) => void;
/**
* @param properties
* @internal
*/
export declare function generateParticleUpdatePolyfill(properties: ParticleRendererProperty[]): {
dynamicUpdate: ParticleUpdateFunction;
staticUpdate: ParticleUpdateFunction;
};
export {};