浏览代码

materials -> programs

Garrett Johnson 5 年之前
父节点
当前提交
50926bcc3f
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 }`;
 
 	}