Package apple.metal

Class MTLArgumentDescriptor

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class MTLArgumentDescriptor
    extends NSObject
    implements NSCopying
    MTLArgumentDescriptor Represents a member of an argument buffer
    • Constructor Detail

      • MTLArgumentDescriptor

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

      • access

        public long access()
        [@property] access Access flags for the argument
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

        public static MTLArgumentDescriptor argumentDescriptor()
        argumentDescriptor Create an autoreleased default argument descriptor
      • arrayLength

        public long arrayLength()
        [@property] arrayLength The length of an array of constants, textures, or samplers, or 0 for non-array arguments
      • 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()
      • constantBlockAlignment

        public long constantBlockAlignment()
        [@property] constantBlockAlignment if set forces the constant block to be aligned to the given alignment Should only be set on the first constant of the block and is only valid if a corresponding explicit "alignas" is applied to the constant in the metal shader language.
      • copyWithZone

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

        public long dataType()
        [@property] dataType For constants, the data type. Otherwise, MTLDataTypeTexture, MTLDataTypeSampler, or MTLDataTypePointer.
      • 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()
      • index

        public long index()
        [@property] index The binding point index of the argument
      • 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)
      • setAccess

        public void setAccess​(long value)
        [@property] access Access flags for the argument
      • setArrayLength

        public void setArrayLength​(long value)
        [@property] arrayLength The length of an array of constants, textures, or samplers, or 0 for non-array arguments
      • setConstantBlockAlignment

        public void setConstantBlockAlignment​(long value)
        [@property] constantBlockAlignment if set forces the constant block to be aligned to the given alignment Should only be set on the first constant of the block and is only valid if a corresponding explicit "alignas" is applied to the constant in the metal shader language.
      • setDataType

        public void setDataType​(long value)
        [@property] dataType For constants, the data type. Otherwise, MTLDataTypeTexture, MTLDataTypeSampler, or MTLDataTypePointer.
      • setIndex

        public void setIndex​(long value)
        [@property] index The binding point index of the argument
      • setTextureType

        public void setTextureType​(long value)
        [@property] textureType For texture arguments, the texture type
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public long textureType()
        [@property] textureType For texture arguments, the texture type
      • version_static

        public static long version_static()