Shader.uniformText

Shader.uniformText(name, texture)[source]

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

Parameters:
namestr

The name of the location in the shader program.

textureAny

The texture to store.