Contents

removeUniformNamed(_:)

Removes a uniform from the shader.

Declaration

func removeUniformNamed(_ name: String)

Parameters

  • name:

    The name of the uniform to remove.

Discussion

If a uniform with that name does not exist in the shader, nothing happens.

See Also

Providing Uniform Data to a Shader