@galacean/engine-core 1.2.0-alpha.5 → 1.2.0-alpha.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/dist/main.js +103 -65
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +103 -65
- package/dist/module.js +103 -65
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/BasicResources.d.ts +1 -0
- package/types/Canvas.d.ts +2 -1
- package/types/RenderPipeline/CopyColorPass.d.ts +1 -0
- package/types/RenderPipeline/OpaqueTexturePass.d.ts +1 -0
- package/types/particle/modules/shape/BaseShape.d.ts +1 -1
- package/types/texture/Texture.d.ts +1 -0
- package/types/texture/enums/TextureFormat.d.ts +28 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-core",
|
|
3
|
-
"version": "1.2.0-alpha.
|
|
3
|
+
"version": "1.2.0-alpha.9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"types/**/*"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@galacean/engine-math": "1.2.0-alpha.
|
|
18
|
+
"@galacean/engine-math": "1.2.0-alpha.9"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@galacean/engine-design": "1.2.0-alpha.
|
|
21
|
+
"@galacean/engine-design": "1.2.0-alpha.9"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"b:types": "tsc"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/types/Canvas.d.ts
CHANGED
|
@@ -14,5 +14,6 @@ export declare abstract class Canvas {
|
|
|
14
14
|
*/
|
|
15
15
|
get height(): number;
|
|
16
16
|
set height(value: number);
|
|
17
|
-
protected abstract
|
|
17
|
+
protected abstract _onWidthChanged(value: number): void;
|
|
18
|
+
protected abstract _onHeightChange(value: number): void;
|
|
18
19
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -6,7 +6,7 @@ export declare abstract class BaseShape {
|
|
|
6
6
|
/** The type of shape to emit particles from. */
|
|
7
7
|
abstract readonly shapeType: ParticleShapeType;
|
|
8
8
|
/** Specifies whether the ShapeModule is enabled or disabled. */
|
|
9
|
-
|
|
9
|
+
enabled: boolean;
|
|
10
10
|
/** Randomizes the starting direction of particles. */
|
|
11
11
|
randomDirectionAmount: number;
|
|
12
12
|
}
|
|
@@ -20,56 +20,58 @@ export declare enum TextureFormat {
|
|
|
20
20
|
R16G16B16A16 = 7,
|
|
21
21
|
/** RGBA format, 32 bits per channel. */
|
|
22
22
|
R32G32B32A32 = 8,
|
|
23
|
+
/** RGBA unsigned integer format, 32 bits per channel. */
|
|
24
|
+
R32G32B32A32_UInt = 9,
|
|
23
25
|
/** RGB compressed format, 4 bits per pixel. */
|
|
24
|
-
BC1 =
|
|
26
|
+
BC1 = 10,
|
|
25
27
|
/** RGBA compressed format, 8 bits per pixel. */
|
|
26
|
-
BC3 =
|
|
28
|
+
BC3 = 11,
|
|
27
29
|
/** RGB(A) compressed format, 128 bits per 4x4 pixel block. */
|
|
28
|
-
BC7 =
|
|
30
|
+
BC7 = 12,
|
|
29
31
|
/** RGB compressed format, 4 bits per pixel. */
|
|
30
|
-
ETC1_RGB =
|
|
32
|
+
ETC1_RGB = 13,
|
|
31
33
|
/** RGB compressed format, 4 bits per pixel. */
|
|
32
|
-
ETC2_RGB =
|
|
34
|
+
ETC2_RGB = 14,
|
|
33
35
|
/** RGBA compressed format, 5 bits per pixel, 4 bit in RGB, 1 bit in A. */
|
|
34
|
-
ETC2_RGBA5 =
|
|
36
|
+
ETC2_RGBA5 = 15,
|
|
35
37
|
/** RGB compressed format, 8 bits per pixel. */
|
|
36
|
-
ETC2_RGBA8 =
|
|
38
|
+
ETC2_RGBA8 = 16,
|
|
37
39
|
/** RGB compressed format, 2 bits per pixel. */
|
|
38
|
-
PVRTC_RGB2 =
|
|
40
|
+
PVRTC_RGB2 = 17,
|
|
39
41
|
/** RGBA compressed format, 2 bits per pixel. */
|
|
40
|
-
PVRTC_RGBA2 =
|
|
42
|
+
PVRTC_RGBA2 = 18,
|
|
41
43
|
/** RGB compressed format, 4 bits per pixel. */
|
|
42
|
-
PVRTC_RGB4 =
|
|
44
|
+
PVRTC_RGB4 = 19,
|
|
43
45
|
/** RGBA compressed format, 4 bits per pixel. */
|
|
44
|
-
PVRTC_RGBA4 =
|
|
46
|
+
PVRTC_RGBA4 = 20,
|
|
45
47
|
/** RGB(A) compressed format, 128 bits per 4x4 pixel block. */
|
|
46
|
-
ASTC_4x4 =
|
|
48
|
+
ASTC_4x4 = 21,
|
|
47
49
|
/** RGB(A) compressed format, 128 bits per 5x5 pixel block. */
|
|
48
|
-
ASTC_5x5 =
|
|
50
|
+
ASTC_5x5 = 22,
|
|
49
51
|
/** RGB(A) compressed format, 128 bits per 6x6 pixel block. */
|
|
50
|
-
ASTC_6x6 =
|
|
52
|
+
ASTC_6x6 = 23,
|
|
51
53
|
/** RGB(A) compressed format, 128 bits per 8x8 pixel block. */
|
|
52
|
-
ASTC_8x8 =
|
|
54
|
+
ASTC_8x8 = 24,
|
|
53
55
|
/** RGB(A) compressed format, 128 bits per 10x10 pixel block. */
|
|
54
|
-
ASTC_10x10 =
|
|
56
|
+
ASTC_10x10 = 25,
|
|
55
57
|
/** RGB(A) compressed format, 128 bits per 12x12 pixel block. */
|
|
56
|
-
ASTC_12x12 =
|
|
58
|
+
ASTC_12x12 = 26,
|
|
57
59
|
/** Automatic depth format, engine will automatically select the supported precision. */
|
|
58
|
-
Depth =
|
|
60
|
+
Depth = 27,
|
|
59
61
|
/** Automatic depth stencil format, engine will automatically select the supported precision. */
|
|
60
|
-
DepthStencil =
|
|
62
|
+
DepthStencil = 28,
|
|
61
63
|
/** 16-bit depth format. */
|
|
62
|
-
Depth16 =
|
|
64
|
+
Depth16 = 29,
|
|
63
65
|
/** 24-bit depth format. */
|
|
64
|
-
Depth24 =
|
|
66
|
+
Depth24 = 30,
|
|
65
67
|
/** 32-bit depth format. */
|
|
66
|
-
Depth32 =
|
|
68
|
+
Depth32 = 31,
|
|
67
69
|
/** 16-bit depth + 8-bit stencil format. */
|
|
68
|
-
Depth24Stencil8 =
|
|
70
|
+
Depth24Stencil8 = 32,
|
|
69
71
|
/** 32-bit depth + 8-bit stencil format. */
|
|
70
|
-
Depth32Stencil8 =
|
|
72
|
+
Depth32Stencil8 = 33,
|
|
71
73
|
/** @deprecated Use `TextureFormat.BC1` instead. */
|
|
72
|
-
DXT1 =
|
|
74
|
+
DXT1 = 34,
|
|
73
75
|
/** @deprecated Use `TextureFormat.BC3` instead. */
|
|
74
|
-
DXT5 =
|
|
76
|
+
DXT5 = 35
|
|
75
77
|
}
|