Capítulo 513 de 859
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
| Signature |
|---|
new ViewportSharedTextureNode( uvNode : Node, levelNode : Node ) |
Methods
| Method | Description |
|---|---|
.getTextureForReference() : FramebufferTexture | Overwritten so the method always returns the unique shared framebuffer texture. |