UNPKG

864 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.ElementSize = void 0;
7
8var _index = require("./values/index.js");
9
10var _completions = require("./completions.js");
11
12var _environment = require("./environment.js");
13
14var _generator = require("./utils/generator.js");
15
16var _errors = require("./errors.js");
17
18/**
19 * Copyright (c) 2017-present, Facebook, Inc.
20 * All rights reserved.
21 *
22 * This source code is licensed under the BSD-style license found in the
23 * LICENSE file in the root directory of this source tree. An additional grant
24 * of patent rights can be found in the PATENTS file in the same directory.
25 */
26const ElementSize = {
27 Float32: 4,
28 Float64: 8,
29 Int8: 1,
30 Int16: 2,
31 Int32: 4,
32 Uint8: 1,
33 Uint16: 2,
34 Uint32: 4,
35 Uint8Clamped: 1
36};
37exports.ElementSize = ElementSize;
38//# sourceMappingURL=types.js.map
\No newline at end of file