new ShaderCodeResource()
Stores and caches shader code, which comes from loaded .vvvvjs.fx files or a DefineEffect node
- Source:
Members
-
definingNode
-
the DefineNode node which defines this shader code; undefined if the shader code comes from a .vvvvjs.fx file
- Source:
-
relatedNodes
-
An array of all nodes which utilize this shader code
- Source:
Methods
-
addRelatedNode(the)
-
registers a shader node with this shader code resource
Parameters:
Name Type Description the
VVVV.Core.Node shader node
- Source:
-
setSourceCode(str)
-
Sets the source code
Parameters:
Name Type Description str
String the shader code as string
- Source: