/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/scene/container/utils/executeInstructions.ts
21 строка
715 B
Zyie
chore: documentation overhaul with typedoc (#11423)
19 май 2025, 11:44
Не верифицирован
19 май 2025, 11:44
34926f0
Код
Авторство
О чём код?
import type { InstructionPipe } from '../../../rendering/renderers/shared/instructions/RenderPipe'; import type { RenderPipes } from '../../../rendering/renderers/types'; import type { RenderGroup } from '../RenderGroup'; /** * @param renderGroup * @param renderer * @internal */ export function executeInstructions(renderGroup: RenderGroup, renderer: RenderPipes) { const instructionSet = renderGroup.instructionSet; const instructions = instructionSet.instructions; for (let i = 0; i < instructionSet.instructionSize; i++) { const instruction = instructions[i]; (renderer[instruction.renderPipeId as keyof RenderPipes] as InstructionPipe<any>).execute(instruction); } }