Class MTLFunctionOptions


  • public final class MTLFunctionOptions
    extends java.lang.Object
    API-Since: 14.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long CompileToBinary
      Compiles the found function.
      static long None
      Default usage API-Since: 14.0
      static long StoreFunctionInMetalScript
      stores and tracks this function in a MetalScript This flag is optional and only supported in the context of binary archives.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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