Package apple.metal.enums
Class MTLFunctionOptions
- java.lang.Object
-
- apple.metal.enums.MTLFunctionOptions
-
public final class MTLFunctionOptions extends java.lang.ObjectAPI-Since: 14.0
-
-
Field Summary
Fields Modifier and Type Field Description static longCompileToBinaryCompiles the found function.static longNoneDefault usage API-Since: 14.0static longStoreFunctionInMetalScriptstores and tracks this function in a MetalScript This flag is optional and only supported in the context of binary archives.
-
-
-
Field Detail
-
None
public static final long None
Default usage API-Since: 14.0- See Also:
- Constant Field Values
-
CompileToBinary
public static final long CompileToBinary
Compiles the found function. This enables dynamic linking of this `MTLFunction`. Only supported for `visible` functions. API-Since: 14.0- See Also:
- Constant Field Values
-
StoreFunctionInMetalScript
public static final long StoreFunctionInMetalScript
stores and tracks this function in a MetalScript This flag is optional and only supported in the context of binary archives. This flag is required for inspecting and consuming binary archives with specialized MTLFunctions via the metal-source tool. It is not required for recompilation, nor for storing functions in binary archives. Set this flag only if you intend to use metal-source on a serialized binary archive. API-Since: 17.0- See Also:
- Constant Field Values
-
-