Prechádzať zdrojové kódy

materials -> programs

Garrett Johnson 5 rokov pred
rodič
commit
50926bcc3f
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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 }`;
 
 	}