Procházet zdrojové kódy

materials -> programs

Garrett Johnson před 5 roky
rodič
revize
50926bcc3f
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      example/index.js

+ 2 - 2
example/index.js

@@ -626,8 +626,8 @@ function render() {
 	if ( params.enableRendererStats ) {
 
 		const memory = renderer.info.memory;
-		const materialCount = renderer.info.programs.length;
-		str += `<br/>Geometries: ${ memory.geometries } Textures: ${ memory.textures } Materials: ${ materialCount }`;
+		const programCount = renderer.info.programs.length;
+		str += `<br/>Geometries: ${ memory.geometries } Textures: ${ memory.textures } Programs: ${ programCount }`;
 
 	}