@galacean/effects-threejs 2.8.0-alpha.1 → 2.8.0-alpha.3
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/index.js +1102 -1529
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +1101 -1526
- package/dist/index.mjs.map +1 -1
- package/dist/three-render-pass.d.ts +2 -12
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RenderPassDestroyOptions, spec } from '@galacean/effects-core';
|
|
2
2
|
import { RenderPass } from '@galacean/effects-core';
|
|
3
3
|
/**
|
|
4
4
|
* THREE RenderPass 抽象类的实现(滤镜元素需要实现)
|
|
@@ -8,22 +8,12 @@ export declare class ThreeRenderPass extends RenderPass {
|
|
|
8
8
|
* 构造函数
|
|
9
9
|
* @param options - 设置 RenderPass 的参数选项
|
|
10
10
|
*/
|
|
11
|
-
constructor(renderer: any
|
|
11
|
+
constructor(renderer: any);
|
|
12
12
|
/**
|
|
13
13
|
* 获取视口
|
|
14
14
|
* @returns vec4 类型的值,表示视口的左上角 x 和 y 坐标以及宽度和高度
|
|
15
15
|
*/
|
|
16
16
|
getViewport(): spec.vec4;
|
|
17
|
-
/**
|
|
18
|
-
* 获取深度附件
|
|
19
|
-
* @returns 返回深度附件信息
|
|
20
|
-
*/
|
|
21
|
-
getDepthAttachment(): RenderPassDepthStencilAttachment | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* 获取模板附件
|
|
24
|
-
* @returns 返回模板附件信息
|
|
25
|
-
*/
|
|
26
|
-
getStencilAttachment(): RenderPassDepthStencilAttachment | undefined;
|
|
27
17
|
/**
|
|
28
18
|
* 销毁渲染目标及其所有附件
|
|
29
19
|
* @param options - 销毁渲染目标的选项
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/effects-threejs",
|
|
3
|
-
"version": "2.8.0-alpha.
|
|
3
|
+
"version": "2.8.0-alpha.3",
|
|
4
4
|
"description": "Galacean Effects runtime threejs plugin for the web",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"registry": "https://registry.npmjs.org"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@galacean/effects-core": "2.8.0-alpha.
|
|
46
|
+
"@galacean/effects-core": "2.8.0-alpha.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"three": "^0.149.0",
|