Package apple.metal

Class MTLComputePipelineDescriptor

    • Constructor Detail

      • MTLComputePipelineDescriptor

        protected MTLComputePipelineDescriptor​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • computeFunction

        @Nullable
        public @Nullable MTLFunction computeFunction()
        [@property] computeFunction The function to use with the MTLComputePipelineState
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • label

        @Nullable
        public @Nullable java.lang.String label()
        [@property] label A string to help identify this object.
      • reset

        public void reset()
        reset Restore all compute pipeline descriptor properties to their default values.
      • setComputeFunction

        public void setComputeFunction​(@Nullable
                                       @Nullable MTLFunction value)
        [@property] computeFunction The function to use with the MTLComputePipelineState
      • setLabel

        public void setLabel​(@Nullable
                             @Nullable java.lang.String value)
        [@property] label A string to help identify this object.
      • setStageInputDescriptor

        public void setStageInputDescriptor​(@Nullable
                                            @Nullable MTLStageInputOutputDescriptor value)
        [@property] computeDataDescriptor An MTLStageInputOutputDescriptor to fetch data from buffers API-Since: 10.0
      • setThreadGroupSizeIsMultipleOfThreadExecutionWidth

        public void setThreadGroupSizeIsMultipleOfThreadExecutionWidth​(boolean value)
        [@property] threadGroupSizeIsMultipleOfThreadExecutionWidth An optimization flag, set if the thread group size will always be a multiple of thread execution width
      • stageInputDescriptor

        @Nullable
        public @Nullable MTLStageInputOutputDescriptor stageInputDescriptor()
        [@property] computeDataDescriptor An MTLStageInputOutputDescriptor to fetch data from buffers API-Since: 10.0
      • threadGroupSizeIsMultipleOfThreadExecutionWidth

        public boolean threadGroupSizeIsMultipleOfThreadExecutionWidth()
        [@property] threadGroupSizeIsMultipleOfThreadExecutionWidth An optimization flag, set if the thread group size will always be a multiple of thread execution width
      • buffers

        @NotNull
        public @NotNull MTLPipelineBufferDescriptorArray buffers()
        [@property] buffers Optional properties for each buffer binding used by the compute function. API-Since: 11.0
      • maxTotalThreadsPerThreadgroup

        public long maxTotalThreadsPerThreadgroup()
        [@property] maxTotalThreadsPerThreadgroup Optional property. Set the maxTotalThreadsPerThreadgroup. If it is not set, returns zero. API-Since: 12.0
      • setMaxTotalThreadsPerThreadgroup

        public void setMaxTotalThreadsPerThreadgroup​(long value)
        [@property] maxTotalThreadsPerThreadgroup Optional property. Set the maxTotalThreadsPerThreadgroup. If it is not set, returns zero. API-Since: 12.0
      • setSupportIndirectCommandBuffers

        public void setSupportIndirectCommandBuffers​(boolean value)
        [@property] supportIndirectCommandBuffers This flag makes this pipeline usable with indirect command buffers. API-Since: 13.0
      • supportIndirectCommandBuffers

        public boolean supportIndirectCommandBuffers()
        [@property] supportIndirectCommandBuffers This flag makes this pipeline usable with indirect command buffers. API-Since: 13.0
      • binaryArchives

        @Nullable
        public @Nullable NSArray<?> binaryArchives()
        [@property] binaryArchives The set of MTLBinaryArchive to search for compiled code when creating the pipeline state. Accelerate pipeline state creation by providing archives of compiled code such that no compilation needs to happen on the fast path.
        See Also:
        API-Since: 14.0
      • insertLibraries

        @Nullable
        @Deprecated
        public @Nullable NSArray<?> insertLibraries()
        Deprecated.
        [@property] insertLibraries The set of MTLDynamicLibrary to use to resolve external symbols before considering symbols from dependent MTLDynamicLibrary. Typical workflows use the libraries property of MTLCompileOptions to record dependent libraries at compile time without having to use insertLibraries. This property can be used to override symbols from dependent libraries for experimentation or evaluating alternative implementations. It can also be used to provide dynamic libraries that are dynamically created (for example, from source) that have no stable installName that can be used to automatically load from the file system.
        See Also:
        API-Since: 14.0 Deprecated-Since: 15.0
      • linkedFunctions

        @Nullable
        public @Nullable MTLLinkedFunctions linkedFunctions()
        [@property] linkedFunctions The set of functions to be linked with the pipeline state and accessed from the compute function.
        See Also:
        API-Since: 14.0
      • maxCallStackDepth

        public long maxCallStackDepth()
        [@property] maxCallStackDepth The maximum depth of the call stack in stack frames from the kernel. Defaults to 1 additional stack frame. API-Since: 14.0
      • setBinaryArchives

        public void setBinaryArchives​(@Nullable
                                      @Nullable NSArray<?> value)
        [@property] binaryArchives The set of MTLBinaryArchive to search for compiled code when creating the pipeline state. Accelerate pipeline state creation by providing archives of compiled code such that no compilation needs to happen on the fast path.
        See Also:
        API-Since: 14.0
      • setInsertLibraries

        @Deprecated
        public void setInsertLibraries​(@Nullable
                                       @Nullable NSArray<?> value)
        Deprecated.
        [@property] insertLibraries The set of MTLDynamicLibrary to use to resolve external symbols before considering symbols from dependent MTLDynamicLibrary. Typical workflows use the libraries property of MTLCompileOptions to record dependent libraries at compile time without having to use insertLibraries. This property can be used to override symbols from dependent libraries for experimentation or evaluating alternative implementations. It can also be used to provide dynamic libraries that are dynamically created (for example, from source) that have no stable installName that can be used to automatically load from the file system.
        See Also:
        API-Since: 14.0 Deprecated-Since: 15.0
      • setLinkedFunctions

        public void setLinkedFunctions​(@Nullable
                                       @Nullable MTLLinkedFunctions value)
        [@property] linkedFunctions The set of functions to be linked with the pipeline state and accessed from the compute function.
        See Also:
        API-Since: 14.0
      • setMaxCallStackDepth

        public void setMaxCallStackDepth​(long value)
        [@property] maxCallStackDepth The maximum depth of the call stack in stack frames from the kernel. Defaults to 1 additional stack frame. API-Since: 14.0
      • setSupportAddingBinaryFunctions

        public void setSupportAddingBinaryFunctions​(boolean value)
        [@property] supportAddingBinaryFunctions This flag makes this pipeline support creating a new pipeline by adding binary functions. API-Since: 14.0
      • supportAddingBinaryFunctions

        public boolean supportAddingBinaryFunctions()
        [@property] supportAddingBinaryFunctions This flag makes this pipeline support creating a new pipeline by adding binary functions. API-Since: 14.0
      • preloadedLibraries

        @NotNull
        public @NotNull NSArray<?> preloadedLibraries()
        [@property] preloadedLibraries The set of MTLDynamicLibrary to use to resolve external symbols before considering symbols from dependent MTLDynamicLibrary. Typical workflows use the libraries property of MTLCompileOptions to record dependent libraries at compile time without having to use preloadedLibraries. This property can be used to override symbols from dependent libraries for experimentation or evaluating alternative implementations. It can also be used to provide dynamic libraries that are dynamically created (for example, from source) that have no stable installName that can be used to automatically load from the file system.
        See Also:
        API-Since: 15.0
      • setPreloadedLibraries

        public void setPreloadedLibraries​(@NotNull
                                          @NotNull NSArray<?> value)
        [@property] preloadedLibraries The set of MTLDynamicLibrary to use to resolve external symbols before considering symbols from dependent MTLDynamicLibrary. Typical workflows use the libraries property of MTLCompileOptions to record dependent libraries at compile time without having to use preloadedLibraries. This property can be used to override symbols from dependent libraries for experimentation or evaluating alternative implementations. It can also be used to provide dynamic libraries that are dynamically created (for example, from source) that have no stable installName that can be used to automatically load from the file system.
        See Also:
        API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.