Mr.doob 2 месяцев назад
Родитель
Сommit
a9c17ce299

+ 33 - 9
docs/index.html

@@ -981,7 +981,6 @@
 						<li><a href="TSL.html#asin">asin</a></li>
 						<li><a href="TSL.html#assign">assign</a></li>
 						<li><a href="TSL.html#atan">atan</a></li>
-						<li><a href="TSL.html#atan2">atan2</a></li>
 						<li><a href="TSL.html#atomicAdd">atomicAdd</a></li>
 						<li><a href="TSL.html#atomicAnd">atomicAnd</a></li>
 						<li><a href="TSL.html#atomicFunc">atomicFunc</a></li>
@@ -1028,7 +1027,6 @@
 						<li><a href="TSL.html#builtinAOContext">builtinAOContext</a></li>
 						<li><a href="TSL.html#builtinShadowContext">builtinShadowContext</a></li>
 						<li><a href="TSL.html#bumpMap">bumpMap</a></li>
-						<li><a href="TSL.html#burn">burn</a></li>
 						<li><a href="TSL.html#bypass">bypass</a></li>
 						<li><a href="TSL.html#cache">cache</a></li>
 						<li><a href="TSL.html#cameraFar">cameraFar</a></li>
@@ -1082,7 +1080,6 @@
 						<li><a href="TSL.html#degrees">degrees</a></li>
 						<li><a href="TSL.html#deltaTime">deltaTime</a></li>
 						<li><a href="TSL.html#denoise">denoise</a></li>
-						<li><a href="TSL.html#densityFog">densityFog</a></li>
 						<li><a href="TSL.html#densityFogFactor">densityFogFactor</a></li>
 						<li><a href="TSL.html#depth">depth</a></li>
 						<li><a href="TSL.html#depthBase">depthBase</a></li>
@@ -1096,7 +1093,6 @@
 						<li><a href="TSL.html#dispersion">dispersion</a></li>
 						<li><a href="TSL.html#distance">distance</a></li>
 						<li><a href="TSL.html#div">div</a></li>
-						<li><a href="TSL.html#dodge">dodge</a></li>
 						<li><a href="TSL.html#dof">dof</a></li>
 						<li><a href="TSL.html#dot">dot</a></li>
 						<li><a href="TSL.html#dotScreen">dotScreen</a></li>
@@ -1104,7 +1100,6 @@
 						<li><a href="TSL.html#dynamicBufferAttribute">dynamicBufferAttribute</a></li>
 						<li><a href="TSL.html#emissive">emissive</a></li>
 						<li><a href="TSL.html#equal">equal</a></li>
-						<li><a href="TSL.html#equals">equals</a></li>
 						<li><a href="TSL.html#equirectUV">equirectUV</a></li>
 						<li><a href="TSL.html#exp">exp</a></li>
 						<li><a href="TSL.html#exp2">exp2</a></li>
@@ -1281,7 +1276,6 @@
 						<li><a href="TSL.html#outline">outline</a></li>
 						<li><a href="TSL.html#output">output</a></li>
 						<li><a href="TSL.html#outputStruct">outputStruct</a></li>
-						<li><a href="TSL.html#overlay">overlay</a></li>
 						<li><a href="TSL.html#overloadingFn">overloadingFn</a></li>
 						<li><a href="TSL.html#packHalf2x16">packHalf2x16</a></li>
 						<li><a href="TSL.html#packSnorm2x16">packSnorm2x16</a></li>
@@ -1323,7 +1317,6 @@
 						<li><a href="TSL.html#radians">radians</a></li>
 						<li><a href="TSL.html#rand">rand</a></li>
 						<li><a href="TSL.html#range">range</a></li>
-						<li><a href="TSL.html#rangeFog">rangeFog</a></li>
 						<li><a href="TSL.html#rangeFogFactor">rangeFogFactor</a></li>
 						<li><a href="TSL.html#reciprocal">reciprocal</a></li>
 						<li><a href="TSL.html#reference">reference</a></li>
@@ -1354,7 +1347,6 @@
 						<li><a href="TSL.html#samplerComparison">samplerComparison</a></li>
 						<li><a href="TSL.html#saturate">saturate</a></li>
 						<li><a href="TSL.html#saturation">saturation</a></li>
-						<li><a href="TSL.html#screen">screen</a></li>
 						<li><a href="TSL.html#screenCoordinate">screenCoordinate</a></li>
 						<li><a href="TSL.html#screenDPR">screenDPR</a></li>
 						<li><a href="TSL.html#screenSize">screenSize</a></li>
@@ -1398,7 +1390,6 @@
 						<li><a href="TSL.html#storage">storage</a></li>
 						<li><a href="TSL.html#storageBarrier">storageBarrier</a></li>
 						<li><a href="TSL.html#storageElement">storageElement</a></li>
-						<li><a href="TSL.html#storageObject">storageObject</a></li>
 						<li><a href="TSL.html#storageTexture">storageTexture</a></li>
 						<li><a href="TSL.html#struct">struct</a></li>
 						<li><a href="TSL.html#sub">sub</a></li>
@@ -1525,6 +1516,7 @@
 						<li><a href="global.html#ByteType">ByteType</a></li>
 						<li><a href="global.html#CineonToneMapping">CineonToneMapping</a></li>
 						<li><a href="global.html#ClampToEdgeWrapping">ClampToEdgeWrapping</a></li>
+						<li><a href="global.html#Compatibility">Compatibility</a></li>
 						<li><a href="global.html#ConstantAlphaFactor">ConstantAlphaFactor</a></li>
 						<li><a href="global.html#ConstantColorFactor">ConstantColorFactor</a></li>
 						<li><a href="global.html#CubeReflectionMapping">CubeReflectionMapping</a></li>
@@ -2093,6 +2085,38 @@
 
 				}
 
+				// Sort results: exact matches first, then classes before members
+				const searchLower = v.toLowerCase();
+				results.sort( ( a, b ) => {
+
+					const aName = a.title.split( /[#~]/ ).pop().toLowerCase();
+					const bName = b.title.split( /[#~]/ ).pop().toLowerCase();
+					const aIsClass = ! a.title.includes( '#' ) && ! a.title.includes( '~' );
+					const bIsClass = ! b.title.includes( '#' ) && ! b.title.includes( '~' );
+
+					// Exact match on class name (highest priority)
+					const aExactClass = aIsClass && aName === searchLower;
+					const bExactClass = bIsClass && bName === searchLower;
+					if ( aExactClass !== bExactClass ) return aExactClass ? - 1 : 1;
+
+					// Class starts with search term
+					const aStartsClass = aIsClass && aName.startsWith( searchLower );
+					const bStartsClass = bIsClass && bName.startsWith( searchLower );
+					if ( aStartsClass !== bStartsClass ) return aStartsClass ? - 1 : 1;
+
+					// Exact match on member name
+					const aExact = aName === searchLower;
+					const bExact = bName === searchLower;
+					if ( aExact !== bExact ) return aExact ? - 1 : 1;
+
+					// Classes before members
+					if ( aIsClass !== bIsClass ) return aIsClass ? - 1 : 1;
+
+					// Alphabetically
+					return a.title.localeCompare( b.title );
+
+				} );
+
 				// Display results
 				if ( results.length > 0 ) {
 

+ 8 - 5
docs/pages/ImageBitmapLoader.html

@@ -17,15 +17,18 @@
 An <code>ImageBitmap</code> provides an asynchronous and resource efficient pathway to prepare
 textures for rendering.</p>
 <p>Note that <a href="Texture.html#flipY">Texture#flipY</a> and <a href="Texture.html#premultiplyAlpha">Texture#premultiplyAlpha</a> are ignored with image bitmaps.
-They needs these configuration on bitmap creation unlike regular images need them on uploading to GPU.</p>
-<p>You need to set the equivalent options via <a href="ImageBitmapLoader.html#setOptions">ImageBitmapLoader#setOptions</a> instead.</p>
-<p>Also note that unlike <a href="FileLoader.html">FileLoader</a>, this loader avoids multiple concurrent requests to the same URL only if <code>Cache</code> is enabled.</p></div>
-				<h2>Code Example</h2>
-				<div translate="no"><pre><code class="language-js">const loader = new THREE.ImageBitmapLoader();
+These options need to be configured via <a href="ImageBitmapLoader.html#setOptions">ImageBitmapLoader#setOptions</a> prior to loading,
+unlike regular images which can be configured on the Texture to set these options on GPU upload instead.</p>
+<p>To match the default behaviour of <a href="Texture.html">Texture</a>, the following options are needed:</p>
+<p>Also note that unlike <a href="FileLoader.html">FileLoader</a>, this loader will only avoid multiple concurrent requests to the same URL if <a href="Cache.html">Cache</a> is enabled.</p>
+<pre><code class="language-js">const loader = new THREE.ImageBitmapLoader();
 loader.setOptions( { imageOrientation: 'flipY' } ); // set options if needed
 const imageBitmap = await loader.loadAsync( 'image.png' );
 const texture = new THREE.Texture( imageBitmap );
 texture.needsUpdate = true;
+</code></pre></div>
+				<h2>Code Example</h2>
+				<div translate="no"><pre><code class="language-js">{ imageOrientation: 'flipY', premultiplyAlpha: 'none' }
 </code></pre></div>
 			</header>
 			<article>

+ 3 - 3
docs/pages/Quaternion.html

@@ -594,7 +594,7 @@ Euler angles.</p>
 					<h3 class="name name-method" id="slerp" translate="no">.<a href="#slerp">slerp</a><span class="signature">( qb : <span class="param-type"><a href="Quaternion.html">Quaternion</a></span>, t : <span class="param-type">number</span> )</span><span class="type-signature"> : <a href="Quaternion.html">Quaternion</a></span> </h3>
 					<div class="method">
 						<div class="description">
-							<p>Performs a spherical linear interpolation between quaternions.</p>
+							<p>Performs a spherical linear interpolation between this quaternion and the target quaternion.</p>
 						</div>
 						<table class="params">
 							<tbody>
@@ -611,7 +611,7 @@ Euler angles.</p>
 										<strong>t</strong>
 									</td>
 									<td class="description last">
-										<p>The interpolation factor in the closed interval <code>[0, 1]</code>.</p>
+										<p>The interpolation factor. A value in the range <code>[0,1]</code> will interpolate. A value outside the range <code>[0,1]</code> will extrapolate.</p>
 									</td>
 								</tr>
 							</tbody>
@@ -832,7 +832,7 @@ quaternion data are managed in flat arrays.</p>
 										<strong>t</strong>
 									</td>
 									<td class="description last">
-										<p>The interpolation factor in the range <code>[0,1]</code>.</p>
+										<p>The interpolation factor. A value in the range <code>[0,1]</code> will interpolate. A value outside the range <code>[0,1]</code> will extrapolate.</p>
 									</td>
 								</tr>
 							</tbody>

+ 22 - 0
docs/pages/Renderer.html

@@ -981,6 +981,28 @@ from the GPU to the CPU in context of compute shaders.</p>
 							<dt class="tag-returns"><strong>Returns:</strong> The viewport definition.</dt>
 						</dl>
 					</div>
+					<h3 class="name name-method" id="hasCompatibility" translate="no">.<a href="#hasCompatibility">hasCompatibility</a><span class="signature">( name : <span class="param-type">string</span> )</span><span class="type-signature"> : boolean</span> </h3>
+					<div class="method">
+						<div class="description">
+							<p>Checks if the given compatibility is supported by the selected backend. If the
+renderer has not been initialized, this method always returns <code>false</code>.</p>
+						</div>
+						<table class="params">
+							<tbody>
+								<tr>
+									<td class="name">
+										<strong>name</strong>
+									</td>
+									<td class="description last">
+										<p>The compatibility's name.</p>
+									</td>
+								</tr>
+							</tbody>
+						</table>
+						<dl class="details">
+							<dt class="tag-returns"><strong>Returns:</strong> Whether the compatibility is supported or not.</dt>
+						</dl>
+					</div>
 					<h3 class="name name-method" id="hasFeature" translate="no">.<a href="#hasFeature">hasFeature</a><span class="signature">( name : <span class="param-type">string</span> )</span><span class="type-signature"> : boolean</span> </h3>
 					<div class="method">
 						<div class="description">

+ 0 - 215
docs/pages/TSL.html

@@ -1729,35 +1729,6 @@ If two parameters are provided, the result is <code>atan2(y/x)</code>.</p>
 							</tbody>
 						</table>
 					</div>
-					<h3 class="name name-method" id="atan2" translate="no">.<a href="#atan2">atan2</a><span class="signature">( y : <span class="param-type"><a href="Node.html">Node</a> | number</span>, x : <span class="param-type"><a href="Node.html">Node</a> | number</span> )</span><span class="type-signature"> : <a href="Node.html">Node</a></span> </h3>
-					<div class="method">
-						<div class="description">
-							<p>Returns the arc-tangent of the quotient of its parameters.</p>
-						</div>
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>y</strong>
-									</td>
-									<td class="description last">
-										<p>The y parameter.</p>
-									</td>
-								</tr>
-								<tr>
-									<td class="name">
-										<strong>x</strong>
-									</td>
-									<td class="description last">
-										<p>The x parameter.</p>
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="important tag-deprecated"><strong>Deprecated:</strong> since r172. Use <a href="TSL.html#atan">atan</a> instead.</dt>
-						</dl>
-					</div>
 					<h3 class="name name-method" id="atomicAdd" translate="no">.<a href="#atomicAdd">atomicAdd</a><span class="signature">( pointerNode : <span class="param-type"><a href="Node.html">Node</a></span>, valueNode : <span class="param-type"><a href="Node.html">Node</a></span> )</span><span class="type-signature"> : <a href="AtomicFunctionNode.html">AtomicFunctionNode</a></span> </h3>
 					<div class="method">
 						<div class="description">
@@ -2823,23 +2794,6 @@ kernels won't perform well. Use Gaussian instead if you need a more high-quality
 							</tbody>
 						</table>
 					</div>
-					<h3 class="name name-method" id="burn" translate="no">.<a href="#burn">burn</a><span class="signature">( &hellip;params : <span class="param-type"><a href="global.html#any">any</a></span> )</span><span class="type-signature"> : function</span> </h3>
-					<div class="method">
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>params</strong>
-									</td>
-									<td class="description last">
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="important tag-deprecated"><strong>Deprecated:</strong> since r171. Use <a href="TSL.html#blendBurn">blendBurn</a> instead.</dt>
-						</dl>
-					</div>
 					<h3 class="name name-method" id="bypass" translate="no">.<a href="#bypass">bypass</a><span class="signature">( outputNode : <span class="param-type"><a href="Node.html">Node</a></span>, callNode : <span class="param-type"><a href="Node.html">Node</a></span> )</span><span class="type-signature"> : <a href="BypassNode.html">BypassNode</a></span> </h3>
 					<div class="method">
 						<div class="description">
@@ -3880,30 +3834,6 @@ which is also the index of the least significant bit of the input value.</p>
 							</tbody>
 						</table>
 					</div>
-					<h3 class="name name-method" id="densityFog" translate="no">.<a href="#densityFog">densityFog</a><span class="signature">( color : <span class="param-type"><a href="Node.html">Node</a></span>, density : <span class="param-type"><a href="Node.html">Node</a></span> )</span><span class="type-signature"> : function</span> </h3>
-					<div class="method">
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>color</strong>
-									</td>
-									<td class="description last">
-									</td>
-								</tr>
-								<tr>
-									<td class="name">
-										<strong>density</strong>
-									</td>
-									<td class="description last">
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="important tag-deprecated"><strong>Deprecated:</strong> since r171. Use `fog( color, densityFogFactor( density ) )` instead.</dt>
-						</dl>
-					</div>
 					<h3 class="name name-method" id="densityFogFactor" translate="no">.<a href="#densityFogFactor">densityFogFactor</a><span class="signature">( density : <span class="param-type"><a href="Node.html">Node</a></span> )</span> </h3>
 					<div class="method">
 						<div class="description">
@@ -4101,23 +4031,6 @@ densening fog farther from the camera.</p>
 							</tbody>
 						</table>
 					</div>
-					<h3 class="name name-method" id="dodge" translate="no">.<a href="#dodge">dodge</a><span class="signature">( &hellip;params : <span class="param-type"><a href="global.html#any">any</a></span> )</span><span class="type-signature"> : function</span> </h3>
-					<div class="method">
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>params</strong>
-									</td>
-									<td class="description last">
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="important tag-deprecated"><strong>Deprecated:</strong> since r171. Use <a href="TSL.html#blendDodge">blendDodge</a> instead.</dt>
-						</dl>
-					</div>
 					<h3 class="name name-method" id="dof" translate="no">.<a href="#dof">dof</a><span class="signature">( node : <span class="param-type"><a href="Node.html">Node</a>.&lt;vec4></span>, viewZNode : <span class="param-type"><a href="Node.html">Node</a>.&lt;float></span>, focusDistance : <span class="param-type"><a href="Node.html">Node</a>.&lt;float> | number</span>, focalLength : <span class="param-type"><a href="Node.html">Node</a>.&lt;float> | number</span>, bokehScale : <span class="param-type"><a href="Node.html">Node</a>.&lt;float> | number</span> )</span><span class="type-signature"> : <a href="DepthOfFieldNode.html">DepthOfFieldNode</a></span> </h3>
 					<div class="method">
 						<div class="description">
@@ -4302,35 +4215,6 @@ Use this function if attribute data are updated per frame.</p>
 							</tbody>
 						</table>
 					</div>
-					<h3 class="name name-method" id="equals" translate="no">.<a href="#equals">equals</a><span class="signature">( x : <span class="param-type"><a href="Node.html">Node</a> | number</span>, y : <span class="param-type"><a href="Node.html">Node</a> | number</span> )</span><span class="type-signature"> : <a href="Node.html">Node</a>.&lt;bool></span> </h3>
-					<div class="method">
-						<div class="description">
-							<p>Returns <code>true</code> if <code>x</code> equals <code>y</code>.</p>
-						</div>
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>x</strong>
-									</td>
-									<td class="description last">
-										<p>The first parameter.</p>
-									</td>
-								</tr>
-								<tr>
-									<td class="name">
-										<strong>y</strong>
-									</td>
-									<td class="description last">
-										<p>The second parameter.</p>
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="important tag-deprecated"><strong>Deprecated:</strong> since r175. Use <a href="TSL.html#equal">equal</a> instead.</dt>
-						</dl>
-					</div>
 					<h3 class="name name-method" id="equirectUV" translate="no">.<a href="#equirectUV">equirectUV</a><span class="signature">( dirNode : <span class="param-type"><a href="Node.html">Node</a>.&lt;vec3></span> )</span><span class="type-signature"> : <a href="Node.html">Node</a>.&lt;vec2></span> </h3>
 					<div class="method">
 						<div class="description">
@@ -6898,23 +6782,6 @@ When no material is set, the node refers to the material of the current rendered
 							</tbody>
 						</table>
 					</div>
-					<h3 class="name name-method" id="overlay" translate="no">.<a href="#overlay">overlay</a><span class="signature">( &hellip;params : <span class="param-type"><a href="global.html#any">any</a></span> )</span><span class="type-signature"> : function</span> </h3>
-					<div class="method">
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>params</strong>
-									</td>
-									<td class="description last">
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="important tag-deprecated"><strong>Deprecated:</strong> since r171. Use <a href="TSL.html#blendOverlay">blendOverlay</a> instead.</dt>
-						</dl>
-					</div>
 					<h3 class="name name-method" id="overloadingFn" translate="no">.<a href="#overloadingFn">overloadingFn</a><span class="signature">( functionNodes : <span class="param-type">Array.&lt;function()></span> )</span><span class="type-signature"> : <a href="FunctionOverloadingNode.html">FunctionOverloadingNode</a></span> </h3>
 					<div class="method">
 						<div class="description">
@@ -7779,37 +7646,6 @@ If you increase the sample count, you have to increase this option as well to av
 							</tbody>
 						</table>
 					</div>
-					<h3 class="name name-method" id="rangeFog" translate="no">.<a href="#rangeFog">rangeFog</a><span class="signature">( color : <span class="param-type"><a href="Node.html">Node</a></span>, near : <span class="param-type"><a href="Node.html">Node</a></span>, far : <span class="param-type"><a href="Node.html">Node</a></span> )</span><span class="type-signature"> : function</span> </h3>
-					<div class="method">
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>color</strong>
-									</td>
-									<td class="description last">
-									</td>
-								</tr>
-								<tr>
-									<td class="name">
-										<strong>near</strong>
-									</td>
-									<td class="description last">
-									</td>
-								</tr>
-								<tr>
-									<td class="name">
-										<strong>far</strong>
-									</td>
-									<td class="description last">
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="important tag-deprecated"><strong>Deprecated:</strong> since r171. Use `fog( color, rangeFogFactor( near, far ) )` instead.</dt>
-						</dl>
-					</div>
 					<h3 class="name name-method" id="rangeFogFactor" translate="no">.<a href="#rangeFogFactor">rangeFogFactor</a><span class="signature">( near : <span class="param-type"><a href="Node.html">Node</a></span>, far : <span class="param-type"><a href="Node.html">Node</a></span> )</span> </h3>
 					<div class="method">
 						<div class="description">
@@ -8691,23 +8527,6 @@ on whether the position data are 2D or 3D, the rotation is expressed a single fl
 							<dt class="tag-returns"><strong>Returns:</strong> The saturated color.</dt>
 						</dl>
 					</div>
-					<h3 class="name name-method" id="screen" translate="no">.<a href="#screen">screen</a><span class="signature">( &hellip;params : <span class="param-type"><a href="global.html#any">any</a></span> )</span><span class="type-signature"> : function</span> </h3>
-					<div class="method">
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>params</strong>
-									</td>
-									<td class="description last">
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="important tag-deprecated"><strong>Deprecated:</strong> since r171. Use <a href="TSL.html#blendScreen">blendScreen</a> instead.</dt>
-						</dl>
-					</div>
 					<h3 class="name name-method" id="scriptable" translate="no">.<a href="#scriptable">scriptable</a><span class="signature">( codeNode : <span class="param-type"><a href="CodeNode.html">CodeNode</a></span>, parameters : <span class="param-type">Object</span> )</span><span class="type-signature"> : <a href="ScriptableNode.html">ScriptableNode</a></span> </h3>
 					<div class="method">
 						<div class="description">
@@ -9572,40 +9391,6 @@ to complete before the barrier can be passed.</p>
 							</tbody>
 						</table>
 					</div>
-					<h3 class="name name-method" id="storageObject" translate="no">.<a href="#storageObject">storageObject</a><span class="signature">( value : <span class="param-type"><a href="StorageBufferAttribute.html">StorageBufferAttribute</a> | <a href="StorageInstancedBufferAttribute.html">StorageInstancedBufferAttribute</a> | <a href="BufferAttribute.html">BufferAttribute</a></span>, type : <span class="param-type">string</span>, count : <span class="param-type">number</span> )</span><span class="type-signature"> : <a href="StorageBufferNode.html">StorageBufferNode</a></span> </h3>
-					<div class="method">
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>value</strong>
-									</td>
-									<td class="description last">
-										<p>The buffer data.</p>
-									</td>
-								</tr>
-								<tr>
-									<td class="name">
-										<strong>type</strong>
-									</td>
-									<td class="description last">
-										<p>The buffer type (e.g. <code>'vec3'</code>).</p>
-									</td>
-								</tr>
-								<tr>
-									<td class="name">
-										<strong>count</strong>
-									</td>
-									<td class="description last">
-										<p>The buffer count.</p>
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="important tag-deprecated"><strong>Deprecated:</strong> since r171. Use `storage().setPBO( true )` instead.</dt>
-						</dl>
-					</div>
 					<h3 class="name name-method" id="storageTexture" translate="no">.<a href="#storageTexture">storageTexture</a><span class="signature">( value : <span class="param-type"><a href="StorageTexture.html">StorageTexture</a></span>, uvNode : <span class="param-type"><a href="Node.html">Node</a>.&lt;(vec2|vec3)></span>, storeNode : <span class="param-type"><a href="Node.html">Node</a></span> )</span><span class="type-signature"> : <a href="StorageTextureNode.html">StorageTextureNode</a></span> </h3>
 					<div class="method">
 						<div class="description">

+ 0 - 21
docs/pages/TextureNode.html

@@ -816,27 +816,6 @@ to modify the uv node for correct sampling.</p>
 							<dt class="tag-returns"><strong>Returns:</strong> The texture reference.</dt>
 						</dl>
 					</div>
-					<h3 class="name name-method" id="uv" translate="no">.<a href="#uv">uv</a><span class="signature">( uvNode : <span class="param-type"><a href="Node.html">Node</a></span> )</span><span class="type-signature"> : <a href="TextureNode.html">TextureNode</a></span> </h3>
-					<div class="method">
-						<table class="params">
-							<tbody>
-								<tr>
-									<td class="name">
-										<strong>uvNode</strong>
-									</td>
-									<td class="description last">
-										<p>The uv node.</p>
-									</td>
-								</tr>
-							</tbody>
-						</table>
-						<dl class="details">
-							<dt class="important tag-deprecated"><strong>Deprecated:</strong> since r172. Use <a href="TextureNode.html#sample">TextureNode#sample</a> instead.</dt>
-						</dl>
-						<dl class="details">
-							<dt class="tag-returns"><strong>Returns:</strong> A texture node representing the texture sample.</dt>
-						</dl>
-					</div>
 				<h2 class="subsection-title">Source</h2>
 				<p>
 					<a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/accessors/TextureNode.js" translate="no" target="_blank" rel="noopener">src/nodes/accessors/TextureNode.js</a>

+ 7 - 0
docs/pages/Uniform.html

@@ -54,6 +54,13 @@ Derived uniforms will set this property to a data type specific
 value.</p>
 					</div>
 				</div>
+				<div class="member">
+					<h3 class="name" id="index" translate="no">.<a href="#index">index</a><span class="type-signature"> : number</span> </h3>
+					<div class="description">
+						<p>This property is set by <a href="UniformsGroup.html">UniformsGroup</a> and marks
+the index position in the uniform array.</p>
+					</div>
+				</div>
 				<div class="member">
 					<h3 class="name" id="itemSize" translate="no">.<a href="#itemSize">itemSize</a><span class="type-signature"> : number</span> </h3>
 					<div class="description">

+ 27 - 0
docs/pages/UniformsGroup.html

@@ -145,6 +145,33 @@ in <a href="WebGLRenderer.html">WebGLRenderer</a>.</p></div>
 							<dt class="tag-returns"><strong>Returns:</strong> A reference to this group.</dt>
 						</dl>
 					</div>
+					<h3 class="name name-method" id="addUniformUpdateRange" translate="no">.<a href="#addUniformUpdateRange">addUniformUpdateRange</a><span class="signature">( uniform : <span class="param-type"><a href="Uniform.html">Uniform</a></span> )</span> </h3>
+					<div class="method">
+						<div class="description">
+							<p>Adds a uniform's update range to this buffer.</p>
+						</div>
+						<table class="params">
+							<tbody>
+								<tr>
+									<td class="name">
+										<strong>uniform</strong>
+									</td>
+									<td class="description last">
+										<p>The uniform.</p>
+									</td>
+								</tr>
+							</tbody>
+						</table>
+					</div>
+					<h3 class="name name-method" id="clearUpdateRanges" translate="no">.<a href="#clearUpdateRanges">clearUpdateRanges</a><span class="signature">()</span> </h3>
+					<div class="method">
+						<div class="description">
+							<p>Clears all update ranges of this buffer.</p>
+						</div>
+						<dl class="details">
+							<dt class="tag-overrides"><strong>Overrides:</strong> <a href="UniformBuffer.html#clearUpdateRanges">UniformBuffer#clearUpdateRanges</a></dt>
+						</dl>
+					</div>
 					<h3 class="name name-method" id="clone" translate="no">.<a href="#clone">clone</a><span class="signature">()</span><span class="type-signature"> : <a href="UniformsGroup.html">UniformsGroup</a></span> </h3>
 					<div class="method">
 						<div class="description">

+ 1 - 1
docs/pages/WebGLRenderer.html

@@ -461,7 +461,7 @@ it is recommended to use this version of <code>compile()</code> whenever possibl
 									</td>
 									<td class="description last">
 										<p>The destination mipmap level.</p>
-										<p>Default is <code>null</code>.</p>
+										<p>Default is <code>0</code>.</p>
 									</td>
 								</tr>
 							</tbody>

+ 6 - 0
docs/pages/global.html

@@ -120,6 +120,12 @@ each other to build complex performances from smaller re-usable assets.</p>
 						<p>The last pixel of the texture stretches to the edge of the mesh.</p>
 					</div>
 				</div>
+				<div class="member">
+					<h3 class="name" id="Compatibility" translate="no">.<a href="#Compatibility">Compatibility</a><span class="type-signature"> : Object</span> <span class="type-signature">(constant) </span></h3>
+					<div class="description">
+						<p>Compatibility flags for features that may not be supported across all platforms.</p>
+					</div>
+				</div>
 				<div class="member">
 					<h3 class="name" id="ConstantAlphaFactor" translate="no">.<a href="#ConstantAlphaFactor">ConstantAlphaFactor</a><span class="type-signature"> : number</span> <span class="type-signature">(constant) </span></h3>
 					<div class="description">

+ 1 - 1
docs/pages/module-VignetteShader.html

@@ -23,7 +23,7 @@
 				<div class="member">
 					<h3 class="name" id="~VignetteShader" translate="no">.<a href="#~VignetteShader">VignetteShader</a><span class="type-signature"> : <a href="ShaderMaterial.html#~Shader">ShaderMaterial~Shader</a></span> <span class="type-signature">(inner, constant) </span></h3>
 					<div class="description">
-						<p>Based on <a href="http://code.google.com/p/3-dreams-of-black/source/browse/deploy/js/effects/PaintEffect.js" target="_blank" rel="noopener">PaintEffect postprocess from ro.me</a>.</p>
+						<p>Based on <a href="https://github.com/dataarts/3-dreams-of-black/blob/master/deploy/js/effects/PaintEffect.js" target="_blank" rel="noopener">PaintEffect postprocess from ro.me</a>.</p>
 					</div>
 				</div>
 				<h2 class="subsection-title">Source</h2>

Разница между файлами не показана из-за своего большого размера
+ 0 - 380
docs/search.json


Некоторые файлы не были показаны из-за большого количества измененных файлов

粤ICP备19079148号