Browse Source

type of material to ShaderMaterial

Hajime-san 5 năm trước cách đây
mục cha
commit
c7f28d3d2e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;