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">
25 lines (21 loc) • 744 B
JavaScript
;
var Extensions = require('../../../extensions/Extensions.js');
var UboSystem = require('../shared/shader/UboSystem.js');
var createUboElementsWGSL = require('./shader/utils/createUboElementsWGSL.js');
var createUboSyncFunctionWGSL = require('./shader/utils/createUboSyncFunctionWGSL.js');
;
class GpuUboSystem extends UboSystem.UboSystem {
constructor() {
super({
createUboElements: createUboElementsWGSL.createUboElementsWGSL,
generateUboSync: createUboSyncFunctionWGSL.createUboSyncFunctionWGSL
});
}
}
/** @ignore */
GpuUboSystem.extension = {
type: [Extensions.ExtensionType.WebGPUSystem],
name: "ubo"
};
exports.GpuUboSystem = GpuUboSystem;
//# sourceMappingURL=GpuUboSystem.js.map