{"version":3,"file":"GlUboSystem.mjs","sources":["../../../../src/rendering/renderers/gl/GlUboSystem.ts"],"sourcesContent":["import { ExtensionType } from '../../../extensions/Extensions';\nimport { UboSystem } from '../shared/shader/UboSystem';\nimport { createUboElementsSTD40 } from './shader/utils/createUboElementsSTD40';\nimport { createUboSyncFunctionSTD40 } from './shader/utils/createUboSyncSTD40';\n\n/**\n * System plugin to the renderer to manage uniform buffers. But with an WGSL adaptor.\n * @category rendering\n * @advanced\n */\nexport class GlUboSystem extends UboSystem\n{\n    /** @ignore */\n    public static extension = {\n        type: [ExtensionType.WebGLSystem],\n        name: 'ubo',\n    } as const;\n\n    constructor()\n    {\n        super({\n            createUboElements: createUboElementsSTD40,\n            generateUboSync: createUboSyncFunctionSTD40,\n        });\n    }\n}\n"],"names":[],"mappings":";;;;;;AAUO,MAAM,oBAAoB,SAAA,CACjC;AAAA,EAOI,WAAA,GACA;AACI,IAAA,KAAA,CAAM;AAAA,MACF,iBAAA,EAAmB,sBAAA;AAAA,MACnB,eAAA,EAAiB;AAAA,KACpB,CAAA;AAAA,EACL;AACJ;AAAA;AAfa,WAAA,CAGK,SAAA,GAAY;AAAA,EACtB,IAAA,EAAM,CAAC,aAAA,CAAc,WAAW,CAAA;AAAA,EAChC,IAAA,EAAM;AACV,CAAA;;;;"}