@galacean/effects-core 1.4.4 → 1.4.5
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/dist/engine.d.ts +5 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/engine.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { type Geometry, type Mesh, type RenderPass } from './render';
|
|
|
4
4
|
import type { Disposable } from './utils';
|
|
5
5
|
import type { ShaderLibrary, GPUCapability, Renderer } from './render';
|
|
6
6
|
/**
|
|
7
|
-
* Engine 基类,负责维护所有 GPU
|
|
7
|
+
* Engine 基类,负责维护所有 GPU 资源的管理及销毁
|
|
8
8
|
*/
|
|
9
9
|
export declare class Engine implements Disposable {
|
|
10
10
|
renderer: Renderer;
|
|
@@ -15,6 +15,10 @@ export declare class Engine implements Disposable {
|
|
|
15
15
|
protected meshes: Mesh[];
|
|
16
16
|
protected renderPasses: RenderPass[];
|
|
17
17
|
gpuCapability: GPUCapability;
|
|
18
|
+
/**
|
|
19
|
+
* 渲染过程中错误队列
|
|
20
|
+
*/
|
|
21
|
+
renderErrors: Set<Error>;
|
|
18
22
|
/**
|
|
19
23
|
* 创建 Engine 对象。
|
|
20
24
|
*/
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime core for the web
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
|
|
6
|
-
* Version: v1.4.
|
|
6
|
+
* Version: v1.4.5
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -25643,7 +25643,7 @@ var Composition = /** @class */ (function () {
|
|
|
25643
25643
|
}());
|
|
25644
25644
|
|
|
25645
25645
|
/**
|
|
25646
|
-
* Engine 基类,负责维护所有 GPU
|
|
25646
|
+
* Engine 基类,负责维护所有 GPU 资源的管理及销毁
|
|
25647
25647
|
*/
|
|
25648
25648
|
var Engine = /** @class */ (function () {
|
|
25649
25649
|
function Engine() {
|
|
@@ -25653,6 +25653,10 @@ var Engine = /** @class */ (function () {
|
|
|
25653
25653
|
this.geometries = [];
|
|
25654
25654
|
this.meshes = [];
|
|
25655
25655
|
this.renderPasses = [];
|
|
25656
|
+
/**
|
|
25657
|
+
* 渲染过程中错误队列
|
|
25658
|
+
*/
|
|
25659
|
+
this.renderErrors = new Set();
|
|
25656
25660
|
}
|
|
25657
25661
|
Engine.prototype.addTexture = function (tex) {
|
|
25658
25662
|
if (this.destroyed) {
|