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

23 lines (20 loc) 660 B
import { ExtensionType } from '../../../extensions/Extensions.mjs'; import { UboSystem } from '../shared/shader/UboSystem.mjs'; import { createUboElementsWGSL } from './shader/utils/createUboElementsWGSL.mjs'; import { createUboSyncFunctionWGSL } from './shader/utils/createUboSyncFunctionWGSL.mjs'; "use strict"; class GpuUboSystem extends UboSystem { constructor() { super({ createUboElements: createUboElementsWGSL, generateUboSync: createUboSyncFunctionWGSL }); } } /** @ignore */ GpuUboSystem.extension = { type: [ExtensionType.WebGPUSystem], name: "ubo" }; export { GpuUboSystem }; //# sourceMappingURL=GpuUboSystem.mjs.map