float(_:)
Returns an argument value representing the MSL value float(x).
Declaration
static func float<T>(_ x: T) -> Shader.Argument where T : BinaryFloatingPointReturns an argument value representing the MSL value float(x).
static func float<T>(_ x: T) -> Shader.Argument where T : BinaryFloatingPoint