@antv/l7-renderer 2.21.9-beta.0 → 2.21.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/device/DeviceModel.js
CHANGED
|
@@ -104,7 +104,7 @@ var DeviceModel = class {
|
|
|
104
104
|
if (elements) {
|
|
105
105
|
this.indexBuffer = elements.get();
|
|
106
106
|
}
|
|
107
|
-
const inputLayout =
|
|
107
|
+
const inputLayout = device.createInputLayout({
|
|
108
108
|
vertexBufferDescriptors,
|
|
109
109
|
indexBufferFormat: elements ? Format.U32_R : null,
|
|
110
110
|
program: this.program
|
|
@@ -274,7 +274,6 @@ var DeviceModel = class {
|
|
|
274
274
|
}
|
|
275
275
|
destroy() {
|
|
276
276
|
var _a, _b, _c;
|
|
277
|
-
this.program.destroy();
|
|
278
277
|
(_a = this.vertexBuffers) == null ? void 0 : _a.forEach((buffer) => buffer.destroy());
|
|
279
278
|
(_b = this.indexBuffer) == null ? void 0 : _b.destroy();
|
|
280
279
|
(_c = this.bindings) == null ? void 0 : _c.destroy();
|
|
@@ -114,7 +114,7 @@ var DeviceModel = class {
|
|
|
114
114
|
if (elements) {
|
|
115
115
|
this.indexBuffer = elements.get();
|
|
116
116
|
}
|
|
117
|
-
const inputLayout =
|
|
117
|
+
const inputLayout = device.createInputLayout({
|
|
118
118
|
vertexBufferDescriptors,
|
|
119
119
|
indexBufferFormat: elements ? import_g_device_api.Format.U32_R : null,
|
|
120
120
|
program: this.program
|
|
@@ -284,7 +284,6 @@ var DeviceModel = class {
|
|
|
284
284
|
}
|
|
285
285
|
destroy() {
|
|
286
286
|
var _a, _b, _c;
|
|
287
|
-
this.program.destroy();
|
|
288
287
|
(_a = this.vertexBuffers) == null ? void 0 : _a.forEach((buffer) => buffer.destroy());
|
|
289
288
|
(_b = this.indexBuffer) == null ? void 0 : _b.destroy();
|
|
290
289
|
(_c = this.bindings) == null ? void 0 : _c.destroy();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-renderer",
|
|
3
|
-
"version": "2.21.9
|
|
3
|
+
"version": "2.21.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "https://github.com/orgs/antvis/people",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"@antv/g-device-api": "^1.6.4",
|
|
17
17
|
"@babel/runtime": "^7.7.7",
|
|
18
18
|
"regl": "1.6.1",
|
|
19
|
-
"@antv/l7-core": "2.21.9
|
|
20
|
-
"@antv/l7-utils": "2.21.9
|
|
19
|
+
"@antv/l7-core": "2.21.9",
|
|
20
|
+
"@antv/l7-utils": "2.21.9"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@antv/l7-test-utils": "^2.21.9
|
|
23
|
+
"@antv/l7-test-utils": "^2.21.9"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public",
|