Português (Portuguese)
Português (Portuguese)
Appearance
Português (Portuguese)
Português (Portuguese)
Appearance
STRUCT
MetalOptions
Contents
apiValidation
shaderValidation
showGraphicsOverview
logGraphicsOverview
options(apiValidation:shaderValidation:showGraphicsOverview:logGraphicsOverview:)
public struct MetalOptions: Equatable, Codable, Sendable
Options to configure scheme metal options for run and test actions.
apiValidation
public var apiValidation: Bool
API Validation
shaderValidation
public var shaderValidation: Bool
Shader Validation
showGraphicsOverview
public var showGraphicsOverview: Bool
Shows graphics overview
logGraphicsOverview
public var logGraphicsOverview: Bool
Log graphics overview
options(apiValidation:shaderValidation:showGraphicsOverview:logGraphicsOverview:)
public static func options(
apiValidation: Bool = true,
shaderValidation: Bool = false,
showGraphicsOverview: Bool = false,
logGraphicsOverview: Bool = false
) -> MetalOptions
Creates 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. |