Capítulo 749 de 859

Chapter 749: NodeCode

Core Idea

NodeBuilder is going to create instances of this class during the build process of nodes. They represent user-defined, native shader code portions that are going to be injected by the builder. A dictionary of node codes is maintained in NodeBuilder#codes for this purpose.

Key Concepts

  • code : string: The native shader code.
  • name : string: The name of the code.
  • type : string: The node type.

Reference Tables

Constructor

Signature
new NodeCode( name : string, type : string, code : string )

Properties

PropertyDescription
.code : stringThe native shader code.
.name : stringThe name of the code.
.type : stringThe node type.

Key Takeaways

  1. Most relevant properties: code, name, type.

Connects To