Browse Source

Merge pull request #19423 from Hajime-san/dev

TS: Fix type of material about GPUComputationRenderer
Mr.doob 5 years ago
parent
commit
449ac80fc1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/misc/GPUComputationRenderer.d.ts

+ 1 - 1
examples/jsm/misc/GPUComputationRenderer.d.ts

@@ -13,7 +13,7 @@ import {
 export interface Variable {
 export interface Variable {
 	name: string;
 	name: string;
 	initialValueTexture: Texture;
 	initialValueTexture: Texture;
-	material: Material;
+	material: ShaderMaterial;
 	dependencies: Variable[];
 	dependencies: Variable[];
 	renderTargets: RenderTarget[];
 	renderTargets: RenderTarget[];
 	wrapS: number;
 	wrapS: number;