N E W

BitcastNode

Last modified: Sep 2, 2025

This node represents an operation that reinterprets the bit representation of a value in one type as a value in another type.

Constructor

new BitcastNode(valueNode, conversionType, inputType?)
ParameterTypeDefault Value
valueNodeNode
conversionTypestring
inputType?null | stringnull

Constructs a new bitcast node.

AccessorTypeModifiers
get typestringstatic
MethodTypeModifiers

Extends

TempNode
N E W

bitcast

ParameterTypeDefault Value
xNode | number
ystring

Returns

Node
N E W

floatBitsToInt

ParameterTypeDefault Value
valueany

Returns

BitcastNode
N E W

floatBitsToUint

ParameterTypeDefault Value
valueany

Returns

BitcastNode
N E W

intBitsToFloat

ParameterTypeDefault Value
valueany

Returns

BitcastNode
N E W

uintBitsToFloat

ParameterTypeDefault Value
valueany

Returns

BitcastNode