data(_:)
Returns an argument value defined by the provided data value. When passed to an MSL function it will convert to a device const void *ptr, int size_in_bytes pair of parameters.
Declaration
static func data(_ data: Data) -> Shader.ArgumentReturns an argument value defined by the provided data value. When passed to an MSL function it will convert to a device const void *ptr, int size_in_bytes pair of parameters.
static func data(_ data: Data) -> Shader.Argument