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">

1 lines 1.27 kB
{"version":3,"file":"GpuParticleContainerPipe.mjs","sources":["../../../../src/scene/particle-container/gpu/GpuParticleContainerPipe.ts"],"sourcesContent":["import { ExtensionType } from '../../../extensions/Extensions';\nimport { GpuParticleContainerAdaptor } from '../gpu/GpuParticleContainerAdaptor';\nimport { ParticleContainerPipe } from '../shared/ParticleContainerPipe';\n\nimport type { WebGPURenderer } from '../../../rendering/renderers/gpu/WebGPURenderer';\n\n/**\n * WebGPU renderer for Particles that is designed for speed over feature set.\n * @category scene\n * @internal\n */\nexport class GpuParticleContainerPipe extends ParticleContainerPipe\n{\n /** @ignore */\n public static extension: { type: ExtensionType[]; name: 'particle' } = {\n type: [\n ExtensionType.WebGPUPipes,\n ],\n name: 'particle',\n } as const;\n\n constructor(renderer: WebGPURenderer)\n {\n super(renderer, new GpuParticleContainerAdaptor());\n }\n}\n"],"names":[],"mappings":";;;;;AAWO,MAAM,iCAAiC,qBAAA,CAC9C;AAAA,EASI,YAAY,QAAA,EACZ;AACI,IAAA,KAAA,CAAM,QAAA,EAAU,IAAI,2BAAA,EAA6B,CAAA;AAAA,EACrD;AACJ;AAAA;AAda,wBAAA,CAGK,SAAA,GAAyD;AAAA,EACnE,IAAA,EAAM;AAAA,IACF,aAAA,CAAc;AAAA,GAClB;AAAA,EACA,IAAA,EAAM;AACV,CAAA;;;;"}