Class: ShaderCodeResource

ShaderCodeResource

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:
VVVV.js Copyright © 2012-2013 The contributors to the VVVV.js project.
Documentation generated by JSDoc 3.3.0-alpha4 on Thu May 08 2014 13:12:35 GMT+0200 (Mitteleuropäische Sommerzeit) using the DocStrap template.