@galacean/engine-core 1.2.0-beta.0 → 1.2.0-beta.2
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 +135 -119
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +135 -119
- package/dist/module.js +135 -119
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/Utils.d.ts +0 -1
- package/types/base/Constant.d.ts +1 -0
- package/types/shaderlib/ShaderFactory.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-core",
|
|
3
|
-
"version": "1.2.0-beta.
|
|
3
|
+
"version": "1.2.0-beta.2",
|
|
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-beta.
|
|
18
|
+
"@galacean/engine-math": "1.2.0-beta.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@galacean/engine-design": "1.2.0-beta.
|
|
21
|
+
"@galacean/engine-design": "1.2.0-beta.2"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"b:types": "tsc"
|
package/types/Utils.d.ts
CHANGED
package/types/base/Constant.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ export declare enum GLCapabilityType {
|
|
|
96
96
|
colorBufferHalfFloat = "EXT_color_buffer_half_float",
|
|
97
97
|
textureFilterAnisotropic = "EXT_texture_filter_anisotropic",
|
|
98
98
|
blendMinMax = "EXT_blend_minmax",
|
|
99
|
+
fragDepth = "EXT_frag_depth",
|
|
99
100
|
astc = "WEBGL_compressed_texture_astc",
|
|
100
101
|
astc_webkit = "WEBKIT_WEBGL_compressed_texture_astc",
|
|
101
102
|
etc = "WEBGL_compressed_texture_etc",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare class ShaderFactory {
|
|
2
|
+
private static readonly _has300OutInFragReg;
|
|
2
3
|
static parseCustomMacros(macros: string[]): string;
|
|
3
4
|
static registerInclude(includeName: string, includeSource: string): void;
|
|
4
5
|
static unRegisterInclude(includeName: string): void;
|
|
@@ -13,5 +14,6 @@ export declare class ShaderFactory {
|
|
|
13
14
|
* @param isFrag - Whether it is a fragment shader.
|
|
14
15
|
* */
|
|
15
16
|
static convertTo300(shader: string, isFrag?: boolean): string;
|
|
17
|
+
private static _has300Output;
|
|
16
18
|
private static _replaceMRTShader;
|
|
17
19
|
}
|