Skip to content

VisualShaderNodeUIntFunc

Inherits: VisualShaderNode < Resource < RefCounted < Object

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.

Type Name Default
Function function 0

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.

function

Function function = 0

A function to be applied to the scalar.