/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/rendering/renderers/gpu/shader/utils/createUboSyncFunctionWGSL.ts
20 строк
587 B
Zyie
feat: WebGPU-first RenderTarget attachment architecture & TextureView depth sampling (#12091)
08 июл 2026, 13:22
Не верифицирован
08 июл 2026, 13:22
f4b382b
Код
Авторство
О чём код?
import { compileBufferSync } from '../../../shared/shader/utils/compileBufferSync'; import { uboSyncFunctionsWGSL } from '../../../shared/shader/utils/uboSyncFunctions'; import { generateArraySyncWGSL } from './generateArraySyncWGSL'; import type { UboElement, UniformsSyncCallback } from '../../../shared/shader/types'; /** * @param uboElements * @internal */ export function createUboSyncFunctionWGSL( uboElements: UboElement[], ): UniformsSyncCallback { return compileBufferSync( uboElements, uboSyncFunctionsWGSL, generateArraySyncWGSL, ); }