ConvertNode

Last modified: Jun 30, 2024

This module is part of the TSL core and usually not used in app level code. It represents a convert operation during the shader generation process meaning it converts the data type of a node to a target data type.

Constructor

new ConvertNode(node, convertTo)
ParameterTypeDefault Value
nodeNode
convertTostring

Constructs a new convert node.

AccessorType

Properties

PropertyTypeDefault Value
nodeNode
convertTostring
MethodType

Extends

Node