@galacean/engine-core 2.0.0-alpha.55 → 2.0.0-alpha.56
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 +11 -6
- package/dist/main.js.map +1 -1
- package/dist/module.js +11 -6
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/shader/ShaderPass.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/engine-core",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.56",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"types/**/*"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@galacean/engine-design": "2.0.0-alpha.
|
|
22
|
-
"@galacean/engine-math": "2.0.0-alpha.
|
|
21
|
+
"@galacean/engine-design": "2.0.0-alpha.56",
|
|
22
|
+
"@galacean/engine-math": "2.0.0-alpha.56"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"b:types": "tsc"
|
|
@@ -29,6 +29,7 @@ export declare class ShaderPass extends ShaderPart {
|
|
|
29
29
|
_renderStateDataMap: Record<number, ShaderProperty>;
|
|
30
30
|
/** @internal */
|
|
31
31
|
_shaderProgramMaps: ShaderProgramMap[];
|
|
32
|
+
private readonly _vertexOutputNames?;
|
|
32
33
|
/**
|
|
33
34
|
* Create a shader pass from precompiled instructions.
|
|
34
35
|
* @param name - Shader pass name
|
|
@@ -36,8 +37,9 @@ export declare class ShaderPass extends ShaderPart {
|
|
|
36
37
|
* @param fragmentShaderInstructions - Precompiled fragment instruction array
|
|
37
38
|
* @param platformTarget - Target shader language
|
|
38
39
|
* @param tags - Tags
|
|
40
|
+
* @param vertexOutputNames - Source output names mapped to generated GLSL names
|
|
39
41
|
*/
|
|
40
|
-
constructor(name: string, vertexShaderInstructions: ShaderInstruction[], fragmentShaderInstructions: ShaderInstruction[], platformTarget: ShaderLanguage, tags?: Record<string, number | string | boolean
|
|
42
|
+
constructor(name: string, vertexShaderInstructions: ShaderInstruction[], fragmentShaderInstructions: ShaderInstruction[], platformTarget: ShaderLanguage, tags?: Record<string, number | string | boolean>, vertexOutputNames?: Readonly<Record<string, string>>);
|
|
41
43
|
/**
|
|
42
44
|
* @internal
|
|
43
45
|
*/
|