Contents

setUniform(_:named:)

Finds the named uniform and sets it to the given BitwiseCopyable value.

Declaration

@discardableResult final func setUniform<V>(_ value: V, named name: String) -> Bool where V : BitwiseCopyable

Discussion

Returns true if the value was found and set successfully