MTLCompileOptions

Undocumented in source but is binding to Objective-C. You might be able to learn more by searching the web for its name.

Members

Functions

fastMathEnabled
BOOL fastMathEnabled()

A Boolean value that indicates whether the compiler can perform optimizations for floating-point arithmetic that may violate the IEEE 754 standard.

fastMathEnabled
BOOL fastMathEnabled(BOOL )
Undocumented in source.
installName
NSString installName(NSString )
Undocumented in source.
installName
NSString installName()

For a dynamic library, the name to use when installing the library.

languageVersion
MTLLanguageVersion languageVersion()

The language version used to interpret the library source code.

languageVersion
MTLLanguageVersion languageVersion(MTLLanguageVersion )
Undocumented in source.
libraries
NSArray libraries()

An array of dynamic libraries the Metal compiler links against.

libraries
NSArray libraries(NSArray )
Undocumented in source.
libraryType
MTLLibraryType libraryType()

The kind of library to create.

libraryType
MTLLibraryType libraryType(MTLLibraryType )
Undocumented in source.
optimizationLevel
MTLLibraryOptimizationLevel optimizationLevel()

An option that tells the compiler what to prioritize when it compiles Metal shader code.

optimizationLevel
MTLLibraryOptimizationLevel optimizationLevel(MTLLibraryOptimizationLevel )
Undocumented in source.
preprocessorMacros
NSDictionary preprocessorMacros()

A list of preprocessor macros to apply when compiling the library source.

preprocessorMacros
NSDictionary preprocessorMacros(NSDictionary )
Undocumented in source.
preserveInvariance
BOOL preserveInvariance()

A Boolean value that indicates whether the compiler should compile vertex shaders conservatively to generate consistent position calculations.

preserveInvariance
BOOL preserveInvariance(BOOL )
Undocumented in source.

Inherited Members

From NSObject

alloc
NSObject alloc()
Undocumented in source.
initialize
NSObject initialize()
Undocumented in source.
retain
NSObject retain()

Increments the receiver’s reference count.

release
void release()

Decrements the receiver’s reference count.

autorelease
NSObject autorelease()

Decrements the receiver’s retain count at the end of the current autorelease pool block.

Meta