We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RENDER
1 parent 06be002 commit 617ebf5Copy full SHA for 617ebf5
1 file changed
src/nodes/display/ViewportTextureNode.js
@@ -80,13 +80,13 @@ class ViewportTextureNode extends TextureNode {
80
this.isOutputTextureNode = true;
81
82
/**
83
- * The `updateBeforeType` is set to `NodeUpdateType.FRAME` since the node renders the
84
- * scene once per frame in its {@link ViewportTextureNode#updateBefore} method.
+ * The `updateBeforeType` is set to `NodeUpdateType.RENDER` since the node should extract
+ * the current contents of the bound framebuffer for each render call.
85
*
86
* @type {string}
87
- * @default 'frame'
+ * @default 'render'
88
*/
89
- this.updateBeforeType = NodeUpdateType.FRAME;
+ this.updateBeforeType = NodeUpdateType.RENDER;
90
91
92
* The framebuffer texture for the current renderer context.
0 commit comments