Documentation Language: Swift

Method

parse(_:)

Parses an MTL template file.

func parse(_ url: URL) async throws -> MTLModule

Parameters

url

URL of the MTL file to parse

Return Value

Parsed MTLModule

Discussion