MCPcopy Create free account
hub / github.com/microsoft/SandDance / getGLSLDeclaration

Function getGLSLDeclaration

docs/app/js/sanddance-app.js:66641–66645  ·  view source on GitHub ↗
(name, accessor)

Source from the content-addressed store, hash-verified

66639 }), " (constant)")), (0, _definePropertyDefault.default)(_ref4, "Format ", "".concat(size, "x").concat(type, " (constant)")), _ref4;
66640}
66641function getGLSLDeclaration(name, accessor) {
66642 var type = accessor.type, size = accessor.size;
66643 var typeAndName = (0, _attributeUtils.getCompositeGLType)(type, size);
66644 return typeAndName ? "".concat(name, " (").concat(typeAndName.name, ")") : name;
66645}
66646
66647},{"@babel/runtime/helpers/esm/defineProperty":"5Xk1p","../classes/buffer":"b1PWl","../webgl-utils":"hZtIX","../webgl-utils/attribute-utils":"fjaGt","../utils":"eK1k6","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"9Qlg6":[function(require,module,exports) {
66648var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Calls

no outgoing calls

Tested by

no test coverage detected