Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/renderers/common/Pipelines.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DataMap from './DataMap.js';
import RenderPipeline from './RenderPipeline.js';
import RenderObjectPipeline from './RenderObjectPipeline.js';
import ComputePipeline from './ComputePipeline.js';
import ProgrammableStage from './ProgrammableStage.js';

Expand Down Expand Up @@ -146,7 +146,7 @@ class Pipelines extends DataMap {
*
* @param {RenderObject} renderObject - The render object.
* @param {?Array<Promise>} [promises=null] - An array of compilation promises which is only relevant in context of `Renderer.compileAsync()`.
* @return {RenderPipeline} The render pipeline.
* @return {RenderObjectPipeline} The render pipeline.
*/
getForRender( renderObject, promises = null ) {

Expand Down Expand Up @@ -344,7 +344,7 @@ class Pipelines extends DataMap {
* @param {ProgrammableStage} stageFragment - The programmable stage representing the fragment shader.
* @param {string} cacheKey - The cache key.
* @param {?Array<Promise>} promises - An array of compilation promises which is only relevant in context of `Renderer.compileAsync()`.
* @return {RenderPipeline} The render pipeline.
* @return {RenderObjectPipeline} The render pipeline.
*/
_getRenderPipeline( renderObject, stageVertex, stageFragment, cacheKey, promises ) {

Expand All @@ -356,7 +356,7 @@ class Pipelines extends DataMap {

if ( pipeline === undefined ) {

pipeline = new RenderPipeline( cacheKey, stageVertex, stageFragment );
pipeline = new RenderObjectPipeline( cacheKey, stageVertex, stageFragment );

this.caches.set( cacheKey, pipeline );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import Pipeline from './Pipeline.js';
* @private
* @augments Pipeline
*/
class RenderPipeline extends Pipeline {
class RenderObjectPipeline extends Pipeline {

/**
* Constructs a new render pipeline.
* Constructs a new render object pipeline.
*
* @param {string} cacheKey - The pipeline's cache key.
* @param {ProgrammableStage} vertexProgram - The pipeline's vertex shader.
Expand Down Expand Up @@ -37,4 +37,4 @@ class RenderPipeline extends Pipeline {

}

export default RenderPipeline;
export default RenderObjectPipeline;
6 changes: 3 additions & 3 deletions src/renderers/common/Renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import RenderLists from './RenderLists.js';
import RenderContexts from './RenderContexts.js';
import Textures from './Textures.js';
import Background from './Background.js';
import Nodes from './nodes/Nodes.js';
import NodeManager from './nodes/NodeManager.js';
import Color4 from './Color4.js';
import ClippingContext from './ClippingContext.js';
import QuadMesh from './QuadMesh.js';
Expand Down Expand Up @@ -319,7 +319,7 @@ class Renderer {
* A reference to a renderer module for managing node related logic.
*
* @private
* @type {?Nodes}
* @type {?NodeManager}
* @default null
*/
this._nodes = null;
Expand Down Expand Up @@ -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._attributes = new Attributes( backend );
this._background = new Background( this, this._nodes );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const _cacheKeyValues = [];
* @private
* @augments DataMap
*/
class Nodes extends DataMap {
class NodeManager extends DataMap {

/**
* Constructs a new nodes management component.
Expand Down Expand Up @@ -837,4 +837,4 @@ class Nodes extends DataMap {

}

export default Nodes;
export default NodeManager;
Loading