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.75 kB
Source Map (JSON)
{"version":3,"file":"collectAllRenderables.mjs","sources":["../../../../src/scene/container/utils/collectAllRenderables.ts"],"sourcesContent":["import { type InstructionSet } from '../../../rendering/renderers/shared/instructions/InstructionSet';\nimport { type Renderer, type RenderPipes } from '../../../rendering/renderers/types';\nimport { deprecation } from '../../../utils/logging/deprecation';\nimport { type Container } from '../Container';\n\n/**\n * Deprecated, please use container.collectRenderables instead.\n * @param container - The container to collect renderables from.\n * @param instructionSet - The instruction set to add the renderables to.\n * @param rendererOrPipes - The renderer to collect the renderables from.\n * @deprecated since version 8.7.0\n * @see container.collectRenderables\n * @internal\n */\nexport function collectAllRenderables(\n container: Container, instructionSet: InstructionSet, rendererOrPipes: Renderer | RenderPipes\n): void\n{\n // #if _DEBUG\n deprecation('8.7.0', 'Please use container.collectRenderables instead.');\n // #endif\n\n // deprecate the use of renderPipes by finding the renderer attached to the batch pipe as this is always there\n const renderer = (rendererOrPipes as Renderer).renderPipes\n ? (rendererOrPipes as Renderer)\n : (rendererOrPipes as RenderPipes).batch.renderer;\n\n return container.collectRenderables(instructionSet, renderer, null);\n}\n"],"names":[],"mappings":";;;AAcgB,SAAA,qBAAA,CACZ,SAAsB,EAAA,cAAA,EAAgC,eAE1D,EAAA;AAEI,EAAA,WAAA,CAAY,SAAS,kDAAkD,CAAA,CAAA;AAIvE,EAAA,MAAM,QAAY,GAAA,eAAA,CAA6B,WACxC,GAAA,eAAA,GACA,gBAAgC,KAAM,CAAA,QAAA,CAAA;AAE7C,EAAA,OAAO,SAAU,CAAA,kBAAA,CAAmB,cAAgB,EAAA,QAAA,EAAU,IAAI,CAAA,CAAA;AACtE;;;;"}