Shader.uniform1i

Shader.uniform1i(name, value)[source]

Store a uniform integer in the shader program at a named location.

Parameters
name: str

The name of the location in the shader program.

value: int

An integer value.