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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | 17x 17x 17x 17x 3x 94x 94x 4x 3x 3x 31x 31x 37x 37x 39x 39x 41x 41x 10x 10x 37x 37x 17x 17x 17x 17x 17x 17x 17x 17x 17x 17x | 'use strict';
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");
var UniformBufferVO$Wonderjs = require("../../../../construct/domain_layer/domain/webgpu/core/value_object/UniformBufferVO.bs.js");
function getSampleCount(param) {
return CPRepo$Wonderjs.getPass(undefined).sampleCount;
}
function setSampleCount(sampleCount) {
var init = CPRepo$Wonderjs.getPass(undefined);
return CPRepo$Wonderjs.setPass({
sampleCount: sampleCount,
totalSampleCount: init.totalSampleCount,
commonBufferData: init.commonBufferData,
resolutionBufferData: init.resolutionBufferData,
pixelBufferData: init.pixelBufferData
});
}
function getTotalSampleCount(param) {
return CPRepo$Wonderjs.getPass(undefined).totalSampleCount;
}
function setTotalSampleCount(totalSampleCount) {
var init = CPRepo$Wonderjs.getPass(undefined);
return CPRepo$Wonderjs.setPass({
sampleCount: init.sampleCount,
totalSampleCount: totalSampleCount,
commonBufferData: init.commonBufferData,
resolutionBufferData: init.resolutionBufferData,
pixelBufferData: init.pixelBufferData
});
}
function getPixelBufferData(param) {
return OptionSt$Wonderjs.map(CPRepo$Wonderjs.getPass(undefined).pixelBufferData, (function (param) {
return [
StorageBufferVO$Wonderjs.create(param[0]),
param[1]
];
}));
}
function setPixelBufferData(param) {
var init = CPRepo$Wonderjs.getPass(undefined);
return CPRepo$Wonderjs.setPass({
sampleCount: init.sampleCount,
totalSampleCount: init.totalSampleCount,
commonBufferData: init.commonBufferData,
resolutionBufferData: init.resolutionBufferData,
pixelBufferData: [
StorageBufferVO$Wonderjs.value(param[0]),
param[1]
]
});
}
function getCommonBufferData(param) {
return OptionSt$Wonderjs.map(CPRepo$Wonderjs.getPass(undefined).commonBufferData, (function (param) {
return [
UniformBufferVO$Wonderjs.create(param[0]),
param[1]
];
}));
}
function setCommonBufferData(param) {
var init = CPRepo$Wonderjs.getPass(undefined);
return CPRepo$Wonderjs.setPass({
sampleCount: init.sampleCount,
totalSampleCount: init.totalSampleCount,
commonBufferData: [
UniformBufferVO$Wonderjs.value(param[0]),
param[1]
],
resolutionBufferData: init.resolutionBufferData,
pixelBufferData: init.pixelBufferData
});
}
function getResolutionBufferData(param) {
return OptionSt$Wonderjs.map(CPRepo$Wonderjs.getPass(undefined).resolutionBufferData, (function (param) {
return [
UniformBufferVO$Wonderjs.create(param[0]),
param[1]
];
}));
}
function setResolutionBufferData(param) {
var init = CPRepo$Wonderjs.getPass(undefined);
return CPRepo$Wonderjs.setPass({
sampleCount: init.sampleCount,
totalSampleCount: init.totalSampleCount,
commonBufferData: init.commonBufferData,
resolutionBufferData: [
UniformBufferVO$Wonderjs.value(param[0]),
param[1]
],
pixelBufferData: init.pixelBufferData
});
}
exports.getSampleCount = getSampleCount;
exports.setSampleCount = setSampleCount;
exports.getTotalSampleCount = getTotalSampleCount;
exports.setTotalSampleCount = setTotalSampleCount;
exports.getPixelBufferData = getPixelBufferData;
exports.setPixelBufferData = setPixelBufferData;
exports.getCommonBufferData = getCommonBufferData;
exports.setCommonBufferData = setCommonBufferData;
exports.getResolutionBufferData = getResolutionBufferData;
exports.setResolutionBufferData = setResolutionBufferData;
/* CPRepo-Wonderjs Not a pure module */
|