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
|
| /**
| * An enum describing the attribute type for glTF and 3D Tiles.
| *
| * @exports AttributeType
| *
| * @private
| */
| var AttributeType = {
| /**
| * The attribute is a single component.
| *
| * @type {String}
| * @constant
| */
| SCALAR : 'SCALAR',
|
| /**
| * The attribute is a two-component vector.
| *
| * @type {String}
| * @constant
| */
| VEC2 : 'VEC2',
|
| /**
| * The attribute is a three-component vector.
| *
| * @type {String}
| * @constant
| */
| VEC3 : 'VEC3',
|
| /**
| * The attribute is a four-component vector.
| *
| * @type {String}
| * @constant
| */
| VEC4 : 'VEC4',
|
| /**
| * The attribute is a 2x2 matrix.
| *
| * @type {String}
| * @constant
| */
| MAT2 : 'MAT2',
|
| /**
| * The attribute is a 3x3 matrix.
| *
| * @type {String}
| * @constant
| */
| MAT3 : 'MAT3',
|
| /**
| * The attribute is a 4x4 matrix.
| *
| * @type {String}
| * @constant
| */
| MAT4 : 'MAT4'
| };
| export default Object.freeze(AttributeType);
|
|