@galacean/engine-design 1.1.0-alpha.2 → 1.1.0-alpha.4

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-design",
3
- "version": "1.1.0-alpha.2",
3
+ "version": "1.1.0-alpha.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "types": "types/index.d.ts",
16
16
  "dependencies": {
17
- "@galacean/engine-math": "1.1.0-alpha.2"
17
+ "@galacean/engine-math": "1.1.0-alpha.4"
18
18
  },
19
19
  "scripts": {
20
20
  "b:types": "tsc"
@@ -1,15 +1,4 @@
1
- /**
2
- * Platform primitive interface.
3
- */
4
1
  export interface IPlatformPrimitive {
5
- /**
6
- * Draw primitive.
7
- * @param tech - Shader
8
- * @param subPrimitive - Sub primitive
9
- */
10
2
  draw(tech: any, subPrimitive: any): void;
11
- /**
12
- * Destroy.
13
- */
14
3
  destroy(): void;
15
4
  }
@@ -3,5 +3,8 @@ import { IShaderInfo } from "./IShaderInfo";
3
3
  * Shader lab interface.
4
4
  */
5
5
  export interface IShaderLab {
6
+ /**
7
+ * parsing shader source code.
8
+ */
6
9
  parseShader(shaderSource: string): IShaderInfo;
7
10
  }