setUniformValue(_:named:)
Sets the value of a named uniform to a BitwiseCopyable typed value.
Declaration
@discardableResult mutating func setUniformValue<V>(_ value: V, named name: String) -> Bool where V : BitwiseCopyableParameters
- value:
The value to write.
- name:
The name of the uniform to update.
Return Value
true if the uniform was found and updated; false otherwise.