init
TypeScriptstatic init(): MTLCompileOptionsSwift declarationinit()class · iOS 8.0+ · SDK 27.1
class MTLCompileOptionsstatic init(): MTLCompileOptionsSwift declarationinit()get allowReferencingUndefinedSymbols(): booleanSwift declarationvar allowReferencingUndefinedSymbols: Bool { get set }set allowReferencingUndefinedSymbols(value: boolean)Swift declarationvar allowReferencingUndefinedSymbols: Bool { get set }get compileSymbolVisibility(): MTLCompileSymbolVisibilitySwift declarationvar compileSymbolVisibility: MTLCompileSymbolVisibility { get set }set compileSymbolVisibility(value: MTLCompileSymbolVisibility)Swift declarationvar compileSymbolVisibility: MTLCompileSymbolVisibility { get set }get enableLogging(): booleanSwift declarationvar enableLogging: Bool { get set }set enableLogging(value: boolean)Swift declarationvar enableLogging: Bool { get set }get fastMathEnabled(): booleanSwift declarationvar fastMathEnabled: Bool { get set }set fastMathEnabled(value: boolean)Swift declarationvar fastMathEnabled: Bool { get set }get floatingPointConversionRoundingMode(): MTLFloatingPointConversionRoundingModeSwift declarationvar floatingPointConversionRoundingMode: MTLFloatingPointConversionRoundingMode { get set }set floatingPointConversionRoundingMode(value: MTLFloatingPointConversionRoundingMode)Swift declarationvar floatingPointConversionRoundingMode: MTLFloatingPointConversionRoundingMode { get set }get installName(): (string) | nullSwift declarationvar installName: String? { get set }set installName(value: (string) | null)Swift declarationvar installName: String? { get set }get languageVersion(): MTLLanguageVersionSwift declarationvar languageVersion: MTLLanguageVersion { get set }set languageVersion(value: MTLLanguageVersion)Swift declarationvar languageVersion: MTLLanguageVersion { get set }get libraries(): (Array<SDKHandle>) | nullSwift declarationvar libraries: [any MTLDynamicLibrary]? { get set }set libraries(value: (Array<SDKHandle>) | null)Swift declarationvar libraries: [any MTLDynamicLibrary]? { get set }get libraryType(): MTLLibraryTypeSwift declarationvar libraryType: MTLLibraryType { get set }set libraryType(value: MTLLibraryType)Swift declarationvar libraryType: MTLLibraryType { get set }get mathFloatingPointFunctions(): MTLMathFloatingPointFunctionsSwift declarationvar mathFloatingPointFunctions: MTLMathFloatingPointFunctions { get set }set mathFloatingPointFunctions(value: MTLMathFloatingPointFunctions)Swift declarationvar mathFloatingPointFunctions: MTLMathFloatingPointFunctions { get set }get mathMode(): MTLMathModeSwift declarationvar mathMode: MTLMathMode { get set }set mathMode(value: MTLMathMode)Swift declarationvar mathMode: MTLMathMode { get set }get maxTotalThreadsPerThreadgroup(): numberSwift declarationvar maxTotalThreadsPerThreadgroup: Int { get set }set maxTotalThreadsPerThreadgroup(value: number)Swift declarationvar maxTotalThreadsPerThreadgroup: Int { get set }get optimizationLevel(): MTLLibraryOptimizationLevelSwift declarationvar optimizationLevel: MTLLibraryOptimizationLevel { get set }set optimizationLevel(value: MTLLibraryOptimizationLevel)Swift declarationvar optimizationLevel: MTLLibraryOptimizationLevel { get set }get preprocessorMacros(): (Record<string, _ObjectiveC_NSObject>) | nullSwift declarationvar preprocessorMacros: [String : NSObject]? { get set }set preprocessorMacros(value: (Record<string, _ObjectiveC_NSObject>) | null)Swift declarationvar preprocessorMacros: [String : NSObject]? { get set }get preserveInvariance(): booleanSwift declarationvar preserveInvariance: Bool { get set }set preserveInvariance(value: boolean)Swift declarationvar preserveInvariance: Bool { get set }No declarations were skipped in this snapshot.