Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | 17x 17x 17x 17x 8x 8x 5x 5x 7x 10x 10x 7x 10x 10x 17x 17x 17x 17x 17x 17x | 'use strict';
var Caml_option = require("bs-platform/lib/js/caml_option.js");
var CPRepo$Wonderjs = require("../../../infrastructure_layer/data/container/CPRepo.bs.js");
var OptionSt$Wonderjs = require("../../../../construct/domain_layer/library/structure/OptionSt.bs.js");
var StorageBufferVO$Wonderjs = require("../../../../construct/domain_layer/domain/webgpu/core/value_object/StorageBufferVO.bs.js");
function getAccumulationPixelBufferData(param) {
return OptionSt$Wonderjs.map(CPRepo$Wonderjs.getAccumulationPass(undefined).accumulationPixelBufferData, (function (param) {
return [
StorageBufferVO$Wonderjs.create(param[0]),
param[1]
];
}));
}
function setAccumulationPixelBufferData(param) {
var init = CPRepo$Wonderjs.getAccumulationPass(undefined);
return CPRepo$Wonderjs.setAccumulationPass({
accumulationPixelBufferData: [
StorageBufferVO$Wonderjs.value(param[0]),
param[1]
],
staticBindGroupData: init.staticBindGroupData,
pipeline: init.pipeline
});
}
function getStaticBindGroupData(param) {
return CPRepo$Wonderjs.getAccumulationPass(undefined).staticBindGroupData;
}
function setStaticBindGroupData(setSlot, bindGroup) {
var init = CPRepo$Wonderjs.getAccumulationPass(undefined);
return CPRepo$Wonderjs.setAccumulationPass({
accumulationPixelBufferData: init.accumulationPixelBufferData,
staticBindGroupData: {
setSlot: setSlot,
bindGroup: bindGroup
},
pipeline: init.pipeline
});
}
function getPipeline(param) {
return CPRepo$Wonderjs.getAccumulationPass(undefined).pipeline;
}
function setPipeline(pipeline) {
var init = CPRepo$Wonderjs.getAccumulationPass(undefined);
return CPRepo$Wonderjs.setAccumulationPass({
accumulationPixelBufferData: init.accumulationPixelBufferData,
staticBindGroupData: init.staticBindGroupData,
pipeline: Caml_option.some(pipeline)
});
}
exports.getAccumulationPixelBufferData = getAccumulationPixelBufferData;
exports.setAccumulationPixelBufferData = setAccumulationPixelBufferData;
exports.getStaticBindGroupData = getStaticBindGroupData;
exports.setStaticBindGroupData = setStaticBindGroupData;
exports.getPipeline = getPipeline;
exports.setPipeline = setPipeline;
/* CPRepo-Wonderjs Not a pure module */
|