Contents

float(_:)

Returns an argument value representing the MSL value float(x).

Declaration

static func float<T>(_ x: T) -> Shader.Argument where T : BinaryFloatingPoint

See Also

Creating argument values