Package apple.metal

Class MTLIOCommandQueueDescriptor

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class MTLIOCommandQueueDescriptor
    extends NSObject
    implements NSCopying
    [@interface] MTLIOCommandQueueDescriptor Represents a descriptor to create a MTLIOCommandQueue. API-Since: 16.0
    • Constructor Detail

      • MTLIOCommandQueueDescriptor

        protected MTLIOCommandQueueDescriptor​(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()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • 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)
      • maxCommandBufferCount

        public long maxCommandBufferCount()
        [@property] maxCommandBufferCount The maximum number of commandBuffers that can be in flight at a given time for the queue.
      • maxCommandsInFlight

        public long maxCommandsInFlight()
        [@property] maxCommandsInFlight The maximum number of IO commands that can be in flight at a given time for the queue. A zero value defaults to the system dependent maximum value, a smaller number can be provided to bound the utilization of the storage device.
      • priority

        public long priority()
        [@property] priority The priority of the commands executed by this queue.
      • resolveClassMethod

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

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

        @Nullable
        public @Nullable MTLIOScratchBufferAllocator scratchBufferAllocator()
        [@property] scratchBufferAllocator An optional property that allows setting a custom allocator for scratch buffers by the queue. An application can manage scratch buffers manually by implemeting a class conforming to the MTLIOScratchBufferAllocator protocol and creating an instance that is passed in here.
      • setMaxCommandBufferCount

        public void setMaxCommandBufferCount​(long value)
        [@property] maxCommandBufferCount The maximum number of commandBuffers that can be in flight at a given time for the queue.
      • setMaxCommandsInFlight

        public void setMaxCommandsInFlight​(long value)
        [@property] maxCommandsInFlight The maximum number of IO commands that can be in flight at a given time for the queue. A zero value defaults to the system dependent maximum value, a smaller number can be provided to bound the utilization of the storage device.
      • setPriority

        public void setPriority​(long value)
        [@property] priority The priority of the commands executed by this queue.
      • setScratchBufferAllocator

        public void setScratchBufferAllocator​(@Nullable
                                              @Nullable MTLIOScratchBufferAllocator value)
        [@property] scratchBufferAllocator An optional property that allows setting a custom allocator for scratch buffers by the queue. An application can manage scratch buffers manually by implemeting a class conforming to the MTLIOScratchBufferAllocator protocol and creating an instance that is passed in here.
      • setType

        public void setType​(long value)
        [@property] type The type (serial or concurrent) of the queue.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public long type()
        [@property] type The type (serial or concurrent) of the queue.
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.