Skip to content
Merged
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
8 changes: 4 additions & 4 deletions src/nodes/display/ViewportTextureNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ class ViewportTextureNode extends TextureNode {
this.isOutputTextureNode = true;

/**
* The `updateBeforeType` is set to `NodeUpdateType.FRAME` since the node renders the
* 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.
*
* @type {string}
* @default 'frame'
* @default 'render'
*/
this.updateBeforeType = NodeUpdateType.FRAME;
this.updateBeforeType = NodeUpdateType.RENDER;

/**
* The framebuffer texture for the current renderer context.
Expand Down