提交 3c2c0155 编写于 作者: J Johannes Deml

Fix correct return value

上级 2fed9a73
......@@ -272,7 +272,7 @@ export class Material extends EventDispatcher {
* @param shader Source code of the shader
* @param renderer WebGLRenderer Context that is initializing the material
*/
onBeforeCompile ( shader : Object, renderer : WebGLRenderer ) : null
onBeforeCompile ( shader : Object, renderer : WebGLRenderer ) : void;
/**
* Sets the properties based on the values.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册