Procházet zdrojové kódy

Merge pull request #19423 from Hajime-san/dev

TS: Fix type of material about GPUComputationRenderer
Mr.doob před 5 roky
rodič
revize
449ac80fc1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 {
 	name: string;
 	initialValueTexture: Texture;
-	material: Material;
+	material: ShaderMaterial;
 	dependencies: Variable[];
 	renderTargets: RenderTarget[];
 	wrapS: number;