Package apple.metal

Class MTLComputePipelineDescriptor

    • Constructor Detail

      • MTLComputePipelineDescriptor

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

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

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

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

        public static 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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

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

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

        public 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​(MTLFunction value)
        [@property] computeFunction The function to use with the MTLComputePipelineState
      • setLabel

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

        public void setStageInputDescriptor​(MTLStageInputOutputDescriptor value)
        [@property] computeDataDescriptor An MTLStageInputOutputDescriptor to fetch data from buffers
      • 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

        public MTLStageInputOutputDescriptor stageInputDescriptor()
        [@property] computeDataDescriptor An MTLStageInputOutputDescriptor to fetch data from buffers
      • threadGroupSizeIsMultipleOfThreadExecutionWidth

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

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

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

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

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

        public 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:
        MTLBinaryArchive
      • insertLibraries

        public NSArray<?> insertLibraries()
        [@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:
        MTLDynamicLibrary
      • 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.
      • setBinaryArchives

        public void setBinaryArchives​(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:
        MTLBinaryArchive
      • setInsertLibraries

        public void setInsertLibraries​(NSArray<?> value)
        [@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:
        MTLDynamicLibrary
      • 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.
      • setSupportAddingBinaryFunctions

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

        public boolean supportAddingBinaryFunctions()
        [@property] supportAddingBinaryFunctions This flag makes this pipeline support creating a new pipeline by adding binary functions.