Package apple.metal
Class MTLComputePipelineDescriptor
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.metal.MTLComputePipelineDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMTLComputePipelineDescriptor(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static MTLComputePipelineDescriptoralloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)NSArray<?>binaryArchives()[@property] binaryArchives The set of MTLBinaryArchive to search for compiled code when creating the pipeline state.MTLPipelineBufferDescriptorArraybuffers()[@property] buffers Optional properties for each buffer binding used by the compute function.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()MTLFunctioncomputeFunction()[@property] computeFunction The function to use with the MTLComputePipelineStatejava.lang.ObjectcopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()static longhash_static()MTLComputePipelineDescriptorinit()NSArray<?>insertLibraries()[@property] insertLibraries The set of MTLDynamicLibrary to use to resolve external symbols before considering symbols from dependent MTLDynamicLibrary.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)java.lang.Stringlabel()[@property] label A string to help identify this object.MTLLinkedFunctionslinkedFunctions()longmaxCallStackDepth()[@property] maxCallStackDepth The maximum depth of the call stack in stack frames from the kernel.longmaxTotalThreadsPerThreadgroup()[@property] maxTotalThreadsPerThreadgroup Optional property.static java.lang.Objectnew_objc()voidreset()reset Restore all compute pipeline descriptor properties to their default values.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetBinaryArchives(NSArray<?> value)[@property] binaryArchives The set of MTLBinaryArchive to search for compiled code when creating the pipeline state.voidsetComputeFunction(MTLFunction value)[@property] computeFunction The function to use with the MTLComputePipelineStatevoidsetInsertLibraries(NSArray<?> value)[@property] insertLibraries The set of MTLDynamicLibrary to use to resolve external symbols before considering symbols from dependent MTLDynamicLibrary.voidsetLabel(java.lang.String value)[@property] label A string to help identify this object.voidsetLinkedFunctions(MTLLinkedFunctions value)voidsetMaxCallStackDepth(long value)[@property] maxCallStackDepth The maximum depth of the call stack in stack frames from the kernel.voidsetMaxTotalThreadsPerThreadgroup(long value)[@property] maxTotalThreadsPerThreadgroup Optional property.voidsetStageInputDescriptor(MTLStageInputOutputDescriptor value)[@property] computeDataDescriptor An MTLStageInputOutputDescriptor to fetch data from buffersvoidsetSupportAddingBinaryFunctions(boolean value)[@property] supportAddingBinaryFunctions This flag makes this pipeline support creating a new pipeline by adding binary functions.voidsetSupportIndirectCommandBuffers(boolean value)[@property] supportIndirectCommandBuffers This flag makes this pipeline usable with indirect command buffers.voidsetThreadGroupSizeIsMultipleOfThreadExecutionWidth(boolean value)[@property] threadGroupSizeIsMultipleOfThreadExecutionWidth An optimization flag, set if the thread group size will always be a multiple of thread execution widthstatic voidsetVersion_static(long aVersion)MTLStageInputOutputDescriptorstageInputDescriptor()[@property] computeDataDescriptor An MTLStageInputOutputDescriptor to fetch data from buffersstatic org.moe.natj.objc.Classsuperclass_static()booleansupportAddingBinaryFunctions()[@property] supportAddingBinaryFunctions This flag makes this pipeline support creating a new pipeline by adding binary functions.booleansupportIndirectCommandBuffers()[@property] supportIndirectCommandBuffers This flag makes this pipeline usable with indirect command buffers.booleanthreadGroupSizeIsMultipleOfThreadExecutionWidth()[@property] threadGroupSizeIsMultipleOfThreadExecutionWidth An optimization flag, set if the thread group size will always be a multiple of thread execution widthstatic longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static MTLComputePipelineDescriptor alloc()
-
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()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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:
copyWithZonein interfaceNSCopying
-
init
public MTLComputePipelineDescriptor init()
-
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
-
buffers
public MTLPipelineBufferDescriptorArray buffers()
[@property] buffers Optional properties for each buffer binding used by the compute function.
-
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
-
linkedFunctions
public MTLLinkedFunctions linkedFunctions()
-
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
-
setLinkedFunctions
public void setLinkedFunctions(MTLLinkedFunctions value)
-
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.
-
-