wonder.js
Version:
19 lines (15 loc) • 1.07 kB
JavaScript
;
var Log$WonderLog = require("wonder-log/lib/js/src/Log.js");
var Contract$WonderLog = require("wonder-log/lib/js/src/Contract.js");
var StateDataMain$Wonderjs = require("../../state/main/data/StateDataMain.js");
var IsDebugMainService$Wonderjs = require("../../state/main/state/IsDebugMainService.js");
var MutableSparseMapService$WonderCommonlib = require("wonder-commonlib/lib/js/src/MutableSparseMapService.js");
function unsafeGetUniformSendData(shaderIndex, map) {
return Contract$WonderLog.ensureCheck((function (sendData) {
return Contract$WonderLog.test(Log$WonderLog.buildAssertMessage("uniform send record exist", "not"), (function (param) {
return Contract$WonderLog.assertNullableExist(sendData);
}));
}), IsDebugMainService$Wonderjs.getIsDebug(StateDataMain$Wonderjs.stateData), MutableSparseMapService$WonderCommonlib.unsafeGet(shaderIndex, map));
}
exports.unsafeGetUniformSendData = unsafeGetUniformSendData;
/* Log-WonderLog Not a pure module */