unofficial documentation
Exports added in the last 90 days.
Loading recent exports...
unofficial documentation
Exports added in the last 90 days.
Loading recent exports...
Exports added in the last 90 days.
This node represents an operation that packs floating-point values of a vector into an unsigned 32-bit integer
Converts each component of the normalized float to 16-bit integer values. The results are packed into a single unsigned integer. round(clamp(c, -1, +1) * 32767.0)
Converts each component of the normalized float to 16-bit integer values. The results are packed into a single unsigned integer. round(clamp(c, 0, +1) * 65535.0)
Converts each component of the vec2 to 16-bit floating-point values. The results are packed into a single unsigned integer.
This node represents an operation that unpacks values from a 32-bit unsigned integer, reinterpreting the results as a floating-point vector
Unpacks a 32-bit unsigned integer into two 16-bit values, interpreted as normalized signed integers. Returns a vec2 with both values.
Unpacks a 32-bit unsigned integer into two 16-bit values, interpreted as normalized unsigned integers. Returns a vec2 with both values.
Unpacks a 32-bit unsigned integer into two 16-bit values, interpreted as 16-bit floating-point numbers. Returns a vec2 with both values.
This node represents an operation that counts the bits of a piece of shader data.
Finds the number of consecutive 0 bits from the least significant bit of the input value, which is also the index of the least significant bit of the input value.
Can only be used with {@link WebGPURenderer} and a WebGPU backend.
Finds the number of consecutive 0 bits starting from the most significant bit of the input value.
Can only be used with {@link WebGPURenderer} and a WebGPU backend.
Finds the number of ‘1’ bits set in the input value
Can only be used with {@link WebGPURenderer} and a WebGPU backend.
This node can be used as a cache management component for another node. Caching is in general used by default in {@link NodeBuilder} but this node allows the usage of a shared parent cache during the build process.
TSL function for creating a cache node.
TSL function for creating a cache node.
InspectorNode is a wrapper node that allows inspection of node values during rendering. It can be used to debug or analyze node outputs in the rendering pipeline.
Creates an inspector node to wrap around a given node for inspection purposes.