ViewportSharedTextureNode

Last modified: Jun 30, 2024

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.

Constructor

new ViewportSharedTextureNode(uvNode?, levelNode?)
ParameterTypeDefault Value
uvNode?NodescreenUV
levelNode?null | Nodenull

Constructs a new viewport shared texture node.

AccessorType
MethodType

Extends

ViewportTextureNode

viewportSharedTexture

TSL function for creating a shared viewport texture node.

ParameterTypeDefault Value
uvNode?Node
levelNode?Node

Returns

ViewportSharedTextureNode