@galacean/engine-core 1.2.0-alpha.8 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-core",
3
- "version": "1.2.0-alpha.8",
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.8"
18
+ "@galacean/engine-math": "1.2.0-alpha.9"
19
19
  },
20
20
  "devDependencies": {
21
- "@galacean/engine-design": "1.2.0-alpha.8"
21
+ "@galacean/engine-design": "1.2.0-alpha.9"
22
22
  },
23
23
  "scripts": {
24
24
  "b:types": "tsc"
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -76,4 +76,5 @@ export declare abstract class Texture extends GraphicsResource {
76
76
  */
77
77
  protected _getMaxMiplevel(size: number): number;
78
78
  protected _getMipmapCount(): number;
79
+ protected _isIntFormat(): boolean;
79
80
  }
@@ -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 = 9,
26
+ BC1 = 10,
25
27
  /** RGBA compressed format, 8 bits per pixel. */
26
- BC3 = 10,
28
+ BC3 = 11,
27
29
  /** RGB(A) compressed format, 128 bits per 4x4 pixel block. */
28
- BC7 = 11,
30
+ BC7 = 12,
29
31
  /** RGB compressed format, 4 bits per pixel. */
30
- ETC1_RGB = 12,
32
+ ETC1_RGB = 13,
31
33
  /** RGB compressed format, 4 bits per pixel. */
32
- ETC2_RGB = 13,
34
+ ETC2_RGB = 14,
33
35
  /** RGBA compressed format, 5 bits per pixel, 4 bit in RGB, 1 bit in A. */
34
- ETC2_RGBA5 = 14,
36
+ ETC2_RGBA5 = 15,
35
37
  /** RGB compressed format, 8 bits per pixel. */
36
- ETC2_RGBA8 = 15,
38
+ ETC2_RGBA8 = 16,
37
39
  /** RGB compressed format, 2 bits per pixel. */
38
- PVRTC_RGB2 = 16,
40
+ PVRTC_RGB2 = 17,
39
41
  /** RGBA compressed format, 2 bits per pixel. */
40
- PVRTC_RGBA2 = 17,
42
+ PVRTC_RGBA2 = 18,
41
43
  /** RGB compressed format, 4 bits per pixel. */
42
- PVRTC_RGB4 = 18,
44
+ PVRTC_RGB4 = 19,
43
45
  /** RGBA compressed format, 4 bits per pixel. */
44
- PVRTC_RGBA4 = 19,
46
+ PVRTC_RGBA4 = 20,
45
47
  /** RGB(A) compressed format, 128 bits per 4x4 pixel block. */
46
- ASTC_4x4 = 20,
48
+ ASTC_4x4 = 21,
47
49
  /** RGB(A) compressed format, 128 bits per 5x5 pixel block. */
48
- ASTC_5x5 = 21,
50
+ ASTC_5x5 = 22,
49
51
  /** RGB(A) compressed format, 128 bits per 6x6 pixel block. */
50
- ASTC_6x6 = 22,
52
+ ASTC_6x6 = 23,
51
53
  /** RGB(A) compressed format, 128 bits per 8x8 pixel block. */
52
- ASTC_8x8 = 23,
54
+ ASTC_8x8 = 24,
53
55
  /** RGB(A) compressed format, 128 bits per 10x10 pixel block. */
54
- ASTC_10x10 = 24,
56
+ ASTC_10x10 = 25,
55
57
  /** RGB(A) compressed format, 128 bits per 12x12 pixel block. */
56
- ASTC_12x12 = 25,
58
+ ASTC_12x12 = 26,
57
59
  /** Automatic depth format, engine will automatically select the supported precision. */
58
- Depth = 26,
60
+ Depth = 27,
59
61
  /** Automatic depth stencil format, engine will automatically select the supported precision. */
60
- DepthStencil = 27,
62
+ DepthStencil = 28,
61
63
  /** 16-bit depth format. */
62
- Depth16 = 28,
64
+ Depth16 = 29,
63
65
  /** 24-bit depth format. */
64
- Depth24 = 29,
66
+ Depth24 = 30,
65
67
  /** 32-bit depth format. */
66
- Depth32 = 30,
68
+ Depth32 = 31,
67
69
  /** 16-bit depth + 8-bit stencil format. */
68
- Depth24Stencil8 = 31,
70
+ Depth24Stencil8 = 32,
69
71
  /** 32-bit depth + 8-bit stencil format. */
70
- Depth32Stencil8 = 32,
72
+ Depth32Stencil8 = 33,
71
73
  /** @deprecated Use `TextureFormat.BC1` instead. */
72
- DXT1 = 33,
74
+ DXT1 = 34,
73
75
  /** @deprecated Use `TextureFormat.BC3` instead. */
74
- DXT5 = 34
76
+ DXT5 = 35
75
77
  }