Package apple.glkit

Class GLKMeshBufferAllocator

  • All Implemented Interfaces:
    MDLMeshBufferAllocator, NSObject

    @Deprecated
    public class GLKMeshBufferAllocator
    extends NSObject
    implements MDLMeshBufferAllocator
    Deprecated.
    GLKMeshBufferAllocator Allocator passed to MDLAsset init method to load vertex and index data directly into OpenGL buffer object API-Since: 9.0 Deprecated-Since: 12.0 Deprecated-Message: OpenGLES API deprecated. (Define GLES_SILENCE_DEPRECATION to silence these warnings)
    • Constructor Detail

      • GLKMeshBufferAllocator

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static GLKMeshBufferAllocator allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Deprecated.
      • automaticallyNotifiesObserversForKey

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

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
        Deprecated.
      • 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)
        Deprecated.
      • classFallbacksForKeyedArchiver

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

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

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

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

        public static long hash_static()
        Deprecated.
      • instanceMethodSignatureForSelector

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

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

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

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

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

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

        public static void setVersion_static​(long aVersion)
        Deprecated.
      • superclass_static

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

        public static long version_static()
        Deprecated.
      • newBufferType

        @NotNull
        public @NotNull MDLMeshBuffer newBufferType​(long length,
                                                    long type)
        Deprecated.
        Description copied from interface: MDLMeshBufferAllocator
        newBuffer:type: Create a buffer in a default zone
        Specified by:
        newBufferType in interface MDLMeshBufferAllocator
        Parameters:
        length - Size of buffer to be created in bytes
        type - Type of data to be stored in this buffer
      • newBufferFromZoneDataType

        @Nullable
        public @Nullable MDLMeshBuffer newBufferFromZoneDataType​(@Nullable
                                                                 @Nullable MDLMeshBufferZone zone,
                                                                 @NotNull
                                                                 @NotNull NSData data,
                                                                 long type)
        Deprecated.
        Description copied from interface: MDLMeshBufferAllocator
        newBufferFromZone:data:type: Create a buffer from a given zone and fill with data in the supplied NSData object An implementing MDLMeshBufferAllocator object may increase the size of the zone if the buffer could not be allocated with the current zone size. Alternatively the implementation may return nil if the buffer could not be allocated.
        Specified by:
        newBufferFromZoneDataType in interface MDLMeshBufferAllocator
        Parameters:
        zone - Zone from which to allocate the memory
        data - Values with which to fill the buffer
        type - Type of data to be stored in this buffer
        Returns:
        An object conforming to the MDLMeshBuffer protocol. Returns nil the buffer could not be allocated in the given zone
      • newBufferFromZoneLengthType

        @Nullable
        public @Nullable MDLMeshBuffer newBufferFromZoneLengthType​(@Nullable
                                                                   @Nullable MDLMeshBufferZone zone,
                                                                   long length,
                                                                   long type)
        Deprecated.
        Description copied from interface: MDLMeshBufferAllocator
        newBufferFromZone:length:type: Create a buffer from a given zone with the given length An implementing MDLMeshBufferAllocator object may increase the size of the zone if the buffer could not be allocated with the current zone size. Alternatively the implementation may return nil if the buffer could not be allocated.
        Specified by:
        newBufferFromZoneLengthType in interface MDLMeshBufferAllocator
        Parameters:
        zone - Zone from which to allocate the memory
        type - Type of data to be stored in this buffer
        Returns:
        An object conforming to the MDLMeshBuffer protocol. Returns nil the buffer could not be allocated in the zone given.
      • newBufferWithDataType

        @NotNull
        public @NotNull MDLMeshBuffer newBufferWithDataType​(@NotNull
                                                            @NotNull NSData data,
                                                            long type)
        Deprecated.
        Description copied from interface: MDLMeshBufferAllocator
        newBufferWithData:type: Create a buffer in a default zone and fill with data in the supplied NSData object
        Specified by:
        newBufferWithDataType in interface MDLMeshBufferAllocator
        Parameters:
        data - Memory to fill the buffer with
        type - Type of data to be stored in this buffer
      • newZone

        @NotNull
        public @NotNull MDLMeshBufferZone newZone​(long capacity)
        Deprecated.
        Description copied from interface: MDLMeshBufferAllocator
        newZone: Create a zone which can be used to allocate MDLMeshBuffer objects
        Specified by:
        newZone in interface MDLMeshBufferAllocator
        Parameters:
        capacity - Total size in bytes of all buffers which can be created from this zone
      • newZoneForBuffersWithSizeAndType

        @NotNull
        public @NotNull MDLMeshBufferZone newZoneForBuffersWithSizeAndType​(@NotNull
                                                                           @NotNull NSArray<? extends NSNumber> sizes,
                                                                           @NotNull
                                                                           @NotNull NSArray<? extends NSNumber> types)
        Deprecated.
        Description copied from interface: MDLMeshBufferAllocator
        newZoneForBuffersWithSize:andType: Create a zone which can be used to allocate MDLMeshBuffer objects Will create a zone from which MDLMeshBuffer objects can be allocated. This will allocate a zone with enough capacity for each of the buffers with sizes and types specified even taking into any alignment restrictions necessary to use these buffers.
        Specified by:
        newZoneForBuffersWithSizeAndType in interface MDLMeshBufferAllocator
        Parameters:
        sizes - Sizes of each buffer to be created in this zone
        types - Type of each buffer to be created in this zone. Values to be of MDLMeshBufferType
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.