uniform-index ( program-instance uniform-name -- index )


Vocabulary
gpu.shaders

Inputs and outputs
program-instancea program-instance
uniform-namea string
indexan integer


Word description
Returns the numeric index of the uniform parameter named output-name in program-instance.

Definition