File: ViewportSharedTextureNode.md | Updated: 11/15/2025
ViewportTextureNode creates an internal texture for each node instance. This module shares a texture across all instances of ViewportSharedTextureNode. It should be the first choice when using data of the default/screen framebuffer for performance reasons.
Constructs a new viewport shared texture node.
uvNode | The uv node. Default is screenUV.
---|---
levelNode | The level node. Default is null.
Overwritten so the method always returns the unique shared framebuffer texture.
Overrides: ViewportTextureNode#getTextureForReference
Returns: The shared framebuffer texture.