Português (Portuguese)
Appearance
Português (Portuguese)
Appearance
STRUCT
MetalOptions Contents
apiValidationshaderValidationshowGraphicsOverviewlogGraphicsOverviewoptions(apiValidation:shaderValidation:showGraphicsOverview:logGraphicsOverview:)public struct MetalOptions: Equatable, Codable, SendableOptions to configure scheme metal options for run and test actions.
apiValidation public var apiValidation: BoolAPI Validation
shaderValidation public var shaderValidation: BoolShader Validation
showGraphicsOverview public var showGraphicsOverview: BoolShows graphics overview
logGraphicsOverview public var logGraphicsOverview: BoolLog graphics overview
options(apiValidation:shaderValidation:showGraphicsOverview:logGraphicsOverview:) public static func options(
apiValidation: Bool = true,
shaderValidation: Bool = false,
showGraphicsOverview: Bool = false,
logGraphicsOverview: Bool = false
) -> MetalOptionsCreates a MetalOptions instance
| Name | Description |
|---|---|
| apiValidation | Specifies whether API validation is enabled. |
| shaderValidation | Specifies whether shader validation is enabled. |
| showGraphicsOverview | Specifies whether to show the graphics overview. |
| logGraphicsOverview | Specifies whether to log the graphics overview. |