ソースを参照

WebGPURenderer: Rename `Nodes` to `NodeManager` (#32786)

sunag 2 ヶ月 前
コミット
bfdbcf7862

+ 3 - 3
src/renderers/common/Renderer.js

@@ -9,7 +9,7 @@ import RenderLists from './RenderLists.js';
 import RenderContexts from './RenderContexts.js';
 import RenderContexts from './RenderContexts.js';
 import Textures from './Textures.js';
 import Textures from './Textures.js';
 import Background from './Background.js';
 import Background from './Background.js';
-import Nodes from './nodes/Nodes.js';
+import NodeManager from './nodes/NodeManager.js';
 import Color4 from './Color4.js';
 import Color4 from './Color4.js';
 import ClippingContext from './ClippingContext.js';
 import ClippingContext from './ClippingContext.js';
 import QuadMesh from './QuadMesh.js';
 import QuadMesh from './QuadMesh.js';
@@ -319,7 +319,7 @@ class Renderer {
 		 * A reference to a renderer module for managing node related logic.
 		 * A reference to a renderer module for managing node related logic.
 		 *
 		 *
 		 * @private
 		 * @private
-		 * @type {?Nodes}
+		 * @type {?NodeManager}
 		 * @default null
 		 * @default null
 		 */
 		 */
 		this._nodes = null;
 		this._nodes = null;
@@ -773,7 +773,7 @@ class Renderer {
 
 
 			}
 			}
 
 
-			this._nodes = new Nodes( this, backend );
+			this._nodes = new NodeManager( this, backend );
 			this._animation = new Animation( this, this._nodes, this.info );
 			this._animation = new Animation( this, this._nodes, this.info );
 			this._attributes = new Attributes( backend );
 			this._attributes = new Attributes( backend );
 			this._background = new Background( this, this._nodes );
 			this._background = new Background( this, this._nodes );

+ 2 - 2
src/renderers/common/nodes/Nodes.js → src/renderers/common/nodes/NodeManager.js

@@ -22,7 +22,7 @@ const _cacheKeyValues = [];
  * @private
  * @private
  * @augments DataMap
  * @augments DataMap
  */
  */
-class Nodes extends DataMap {
+class NodeManager extends DataMap {
 
 
 	/**
 	/**
 	 * Constructs a new nodes management component.
 	 * Constructs a new nodes management component.
@@ -837,4 +837,4 @@ class Nodes extends DataMap {
 
 
 }
 }
 
 
-export default Nodes;
+export default NodeManager;

粤ICP备19079148号