Skip to content

Commit 5b9d8ef

Browse files
committed
Updated builds.
1 parent 827a421 commit 5b9d8ef

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

build/three.cjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29388,6 +29388,9 @@ function testPoint( point, index, localThresholdSq, matrixWorld, raycaster, inte
2938829388
* const texture = new THREE.VideoTexture( video );
2938929389
* ```
2939029390
*
29391+
* Note: When using video textures with {@link WebGPURenderer}, {@link Texture#colorSpace} must be
29392+
* set to THREE.SRGBColorSpace.
29393+
*
2939129394
* Note: After the initial use of a texture, its dimensions, format, and type
2939229395
* cannot be changed. Instead, call {@link Texture#dispose} on the texture and instantiate a new one.
2939329396
*

build/three.core.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29386,6 +29386,9 @@ function testPoint( point, index, localThresholdSq, matrixWorld, raycaster, inte
2938629386
* const texture = new THREE.VideoTexture( video );
2938729387
* ```
2938829388
*
29389+
* Note: When using video textures with {@link WebGPURenderer}, {@link Texture#colorSpace} must be
29390+
* set to THREE.SRGBColorSpace.
29391+
*
2938929392
* Note: After the initial use of a texture, its dimensions, format, and type
2939029393
* cannot be changed. Instead, call {@link Texture#dispose} on the texture and instantiate a new one.
2939129394
*

build/three.webgpu.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,8 +1668,8 @@ class Node extends EventDispatcher {
16681668

16691669
/**
16701670
* Represents the setup stage which is the first step of the build process, see {@link Node#build} method.
1671-
* This method is often overwritten in derived modules to prepare the node which is used as the output/result.
1672-
* The output node must be returned in the `return` statement.
1671+
* This method is often overwritten in derived modules to prepare the node which is used as a node's output/result.
1672+
* If an output node is prepared, then it must be returned in the `return` statement of the derived module's setup function.
16731673
*
16741674
* @param {NodeBuilder} builder - The current node builder.
16751675
* @return {?Node} The output node.
@@ -47690,7 +47690,7 @@ class NodeBuilder {
4769047690

4769147691
}
4769247692

47693-
// setup() -> stage 1: create possible new nodes and returns an output reference node
47693+
// setup() -> stage 1: create possible new nodes and/or return an output reference node
4769447694
// analyze() -> stage 2: analyze nodes to possible optimization and validation
4769547695
// generate() -> stage 3: generate shader
4769647696

build/three.webgpu.nodes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,8 +1668,8 @@ class Node extends EventDispatcher {
16681668

16691669
/**
16701670
* Represents the setup stage which is the first step of the build process, see {@link Node#build} method.
1671-
* This method is often overwritten in derived modules to prepare the node which is used as the output/result.
1672-
* The output node must be returned in the `return` statement.
1671+
* This method is often overwritten in derived modules to prepare the node which is used as a node's output/result.
1672+
* If an output node is prepared, then it must be returned in the `return` statement of the derived module's setup function.
16731673
*
16741674
* @param {NodeBuilder} builder - The current node builder.
16751675
* @return {?Node} The output node.
@@ -47690,7 +47690,7 @@ class NodeBuilder {
4769047690

4769147691
}
4769247692

47693-
// setup() -> stage 1: create possible new nodes and returns an output reference node
47693+
// setup() -> stage 1: create possible new nodes and/or return an output reference node
4769447694
// analyze() -> stage 2: analyze nodes to possible optimization and validation
4769547695
// generate() -> stage 3: generate shader
4769647696

0 commit comments

Comments
 (0)