pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
23 lines (20 loc) • 660 B
JavaScript
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';
;
class GpuUboSystem extends UboSystem {
constructor() {
super({
createUboElements: createUboElementsWGSL,
generateUboSync: createUboSyncFunctionWGSL
});
}
}
/** @ignore */
GpuUboSystem.extension = {
type: [ExtensionType.WebGPUSystem],
name: "ubo"
};
export { GpuUboSystem };
//# sourceMappingURL=GpuUboSystem.mjs.map