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
1 change: 1 addition & 0 deletions examples/jsm/loaders/PCDLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class PCDLoader extends Loader {
/**
* Get dataview value by field type and size.
*
* @private
* @param {DataView} dataview - The DataView to read from.
* @param {number} offset - The offset to start reading from.
* @param {'F' | 'U' | 'I'} type - Field type.
Expand Down
2 changes: 2 additions & 0 deletions examples/jsm/tsl/display/AnaglyphPassNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class AnaglyphPassNode extends StereoCompositePassNode {
/**
* Color matrix node for the left eye.
*
* @private
* @type {UniformNode<mat3>}
*/
this._colorMatrixLeft = uniform( new Matrix3().fromArray( [
Expand All @@ -51,6 +52,7 @@ class AnaglyphPassNode extends StereoCompositePassNode {
/**
* Color matrix node for the right eye.
*
* @private
* @type {UniformNode<mat3>}
*/
this._colorMatrixRight = uniform( new Matrix3().fromArray( [
Expand Down
1 change: 1 addition & 0 deletions examples/jsm/tsl/display/BloomNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ class BloomNode extends TempNode {
/**
* Create a separable blur material for the given kernel radius.
*
* @private
* @param {NodeBuilder} builder - The current node builder.
* @param {number} kernelRadius - The kernel radius.
* @return {NodeMaterial}
Expand Down
1 change: 1 addition & 0 deletions examples/jsm/tsl/display/PixelationPassNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class PixelationNode extends TempNode {
/**
* Uniform node that represents the resolution.
*
* @private
* @type {Node<vec4>}
*/
this._resolution = uniform( new Vector4() );
Expand Down
4 changes: 4 additions & 0 deletions examples/jsm/tsl/display/SSGINode.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,27 +197,31 @@ class SSGINode extends TempNode {
/**
* The resolution of the effect.
*
* @private
* @type {UniformNode<vec2>}
*/
this._resolution = uniform( new Vector2() );

/**
* Used to compute the effective step radius when viewSpaceSampling is `false`.
*
* @private
* @type {UniformNode<vec2>}
*/
this._halfProjScale = uniform( 1 );

/**
* Temporal direction that influences the rotation angle for each slice.
*
* @private
* @type {UniformNode<float>}
*/
this._temporalDirection = uniform( 0 );

/**
* Temporal offset added to the initial ray step.
*
* @private
* @type {UniformNode<float>}
*/
this._temporalOffset = uniform( 0 );
Expand Down
2 changes: 2 additions & 0 deletions examples/jsm/tsl/display/SSSNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,15 @@ class SSSNode extends TempNode {
/**
* Temporal offset added to the initial ray step.
*
* @private
* @type {UniformNode<float>}
*/
this._temporalOffset = uniform( 0 );

/**
* The frame ID use when temporal filtering is enabled.
*
* @private
* @type {UniformNode<uint>}
*/
this._frameId = uniform( 0 );
Expand Down
9 changes: 8 additions & 1 deletion examples/jsm/tsl/display/StereoCompositePassNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,32 +50,37 @@ class StereoCompositePassNode extends PassNode {
* @type {StereoCamera}
*/
this.stereo = new StereoCamera();

const _params = { minFilter: LinearFilter, magFilter: NearestFilter, type: HalfFloatType };

/**
* The render target for rendering the left eye's view.
*
* @private
* @type {RenderTarget}
*/
this._renderTargetL = new RenderTarget( 1, 1, _params );

/**
* The render target for rendering the right eye's view.
*
* @private
* @type {RenderTarget}
*/
this._renderTargetR = new RenderTarget( 1, 1, _params );

/**
* A texture node representing the left's eye view.
*
* @private
* @type {TextureNode}
*/
this._mapLeft = texture( this._renderTargetL.texture );

/**
* A texture node representing the right's eye view.
*
* @private
* @type {TextureNode}
*/
this._mapRight = texture( this._renderTargetR.texture );
Expand All @@ -84,7 +89,9 @@ class StereoCompositePassNode extends PassNode {
* The node material that implements the composite. All
* derived effect passes must provide an instance for rendering.
*
* @type {NodeMaterial}
* @private
* @type {?NodeMaterial}
* @default null
*/
this._material = null;

Expand Down
2 changes: 2 additions & 0 deletions src/nodes/accessors/StorageBufferNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ class StorageBufferNode extends BufferNode {
/**
* A reference to the internal buffer attribute node.
*
* @private
* @type {?BufferAttributeNode}
* @default null
*/
Expand All @@ -134,6 +135,7 @@ class StorageBufferNode extends BufferNode {
/**
* A reference to the internal varying node.
*
* @private
* @type {?VaryingNode}
* @default null
*/
Expand Down
1 change: 1 addition & 0 deletions src/nodes/display/ScreenNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class ScreenNode extends Node {
/**
* This output node.
*
* @private
* @type {?Node}
* @default null
*/
Expand Down
3 changes: 3 additions & 0 deletions src/renderers/common/Renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2360,6 +2360,7 @@ class Renderer {
/**
* Resets the renderer to the initial state before WebXR started.
*
* @private
*/
_resetXRState() {

Expand Down Expand Up @@ -2750,6 +2751,7 @@ class Renderer {
* Analyzes the given 3D object's hierarchy and builds render lists from the
* processed hierarchy.
*
* @private
* @param {Object3D} object - The 3D object to process (usually a scene).
* @param {Camera} camera - The camera the object is rendered with.
* @param {number} groupOrder - The group order is derived from the `renderOrder` of groups and is used to group 3D objects within groups.
Expand Down Expand Up @@ -2975,6 +2977,7 @@ class Renderer {
* Retrieves shadow nodes for the given material. This is used to setup shadow passes.
* The result is cached per material and updated when the material's version changes.
*
* @private
* @param {Material} material
* @returns {Object} - The shadow nodes for the material.
*/
Expand Down
1 change: 1 addition & 0 deletions src/renderers/common/UniformsGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ class UniformsGroup extends UniformBuffer {
/**
* Returns a typed array that matches the given data type.
*
* @private
* @param {string} type - The data type.
* @return {TypedArray} The typed array.
*/
Expand Down
1 change: 1 addition & 0 deletions src/renderers/common/XRManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ class XRManager extends EventDispatcher {
/**
* Whether the XR session uses layers.
*
* @private
* @type {boolean}
* @default false
*/
Expand Down