Capítulo 399 de 859
Class for representing a constant value in the shader.
Constructor
| Signature |
|---|
new ConstNode( value : any, nodeType : string ) |
Properties
| Property | Description |
|---|---|
.isConstNode : boolean (readonly) | This flag can be used for type testing. |
Methods
| Method | Description |
|---|---|
.generateConst( builder : NodeBuilder ) : string | Generates the shader string of the value with the current node builder. |