STRUCT
MetalOptions
Contents
- Properties
apiValidationshaderValidationshowGraphicsOverviewlogGraphicsOverview
- Methods
options(apiValidation:shaderValidation:showGraphicsOverview:logGraphicsOverview:)
swift
public struct MetalOptions: Equatable, Codable, SendableOptions to configure scheme metal options for run and test actions.
Properties
apiValidation
swift
public var apiValidation: BoolAPI Validation
shaderValidation
swift
public var shaderValidation: BoolShader Validation
showGraphicsOverview
swift
public var showGraphicsOverview: BoolShows graphics overview
logGraphicsOverview
swift
public var logGraphicsOverview: BoolLog graphics overview
Methods
options(apiValidation:shaderValidation:showGraphicsOverview:logGraphicsOverview:)
swift
public static func options(
apiValidation: Bool = true,
shaderValidation: Bool = false,
showGraphicsOverview: Bool = false,
logGraphicsOverview: Bool = false
) -> MetalOptionsCreates a MetalOptions instance
- Parameters:
- 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.
Parameters
| 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. |
