Description

Uniform1i writes an int uniform variable.

Uniform1i and Uniform1iv are the only two functions that may be used to load uniform variables defined as sampler types. Loading samplers with any other function will result in a INVALID_OPERATION error.

http://www.khronos.org/opengles/sdk/docs/man3/html/glUniform.xhtml