material-designer-runtime 0.1.2 → 0.1.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/dist/graph/bake-service.d.ts +4 -0
- package/dist/graph/channel-baker.d.ts +1 -0
- package/dist/graph/node-profiler.d.ts +25 -0
- package/dist/graph/textured-surface.d.ts +2 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.js +779 -609
- package/dist/runtime.d.ts +1 -0
- package/dist/tsl/shape.d.ts +4 -1
- package/package.json +1 -1
package/dist/runtime.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare class MaterialGraphRuntime {
|
|
|
18
18
|
constructor(options?: MaterialGraphRuntimeOptions);
|
|
19
19
|
getNodeMaterial(): NodeMaterial;
|
|
20
20
|
getMeshMaterial(): THREE.Material;
|
|
21
|
+
releaseCaches(): Promise<void>;
|
|
21
22
|
get lastError(): string | null;
|
|
22
23
|
get busy(): boolean;
|
|
23
24
|
whenIdle(): Promise<void>;
|
package/dist/tsl/shape.d.ts
CHANGED
|
@@ -4,10 +4,13 @@ export interface ShapeUniforms {
|
|
|
4
4
|
irregularity: V;
|
|
5
5
|
dome: V;
|
|
6
6
|
edge: V;
|
|
7
|
+
tilt: V;
|
|
8
|
+
formRandom: V;
|
|
9
|
+
erode: V;
|
|
7
10
|
}
|
|
8
11
|
export interface ShapeResult {
|
|
9
12
|
mask: V;
|
|
10
13
|
height: V;
|
|
11
14
|
}
|
|
12
|
-
export declare function shapeField(coord: V, type: string, sides: number, seedIn: V | null, u: ShapeUniforms): ShapeResult;
|
|
15
|
+
export declare function shapeField(coord: V, type: string, sides: number, erodeTaps: number, seedIn: V | null, u: ShapeUniforms): ShapeResult;
|
|
13
16
|
export {};
|