VisualShaderNodeUIntFunc
Inherits: VisualShaderNode < Resource < RefCounted < Object
Description
Section titled “Description”An unsigned scalar integer function to be used within the visual shader graph.
Accept an unsigned integer scalar (x) to the input port and transform it according to function.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| Function | function |
0 |
Enumerations
Section titled “Enumerations”Function
enum Function
FUNC_NEGATE = 0
Negates the x using -(x).
FUNC_BITWISE_NOT = 1
Returns the result of bitwise NOT operation on the integer. Translates to ~a in the Orblit Shader Language.
FUNC_MAX = 2
Represents the size of the Function enum.
Property descriptions
Section titled “Property descriptions”function
Function function = 0
A function to be applied to the scalar.
