<viz>.addUniformInt

Create an integer shader uniform

 

<viz>.addUniformInt(
    name    
    value    

)

 

name

Name of shader uniform


value

A single int object or a list of 1-4 int objects.


Remarks

This command will create an integer shader uniform, initialized to the specified values. The returned object can be applied to any node3d object.

Return Value

<uniform> object

See also

<viz>.addUniformBool
<viz>.addUniformFloat
<viz>.addShader
<node3d>.apply