getArgInt

open fun getArgInt(args: <Error class: unknown class>, idx: Int): Int

Gets the value of the uniform @idx in the @args block.

The uniform must be of int type.

Return

The value

Parameters

args

uniform arguments

idx

index of the uniform