Package apple.glkit

Class GLKMeshBuffer

  • All Implemented Interfaces:
    NSCopying, MDLMeshBuffer, NSObject

    @Deprecated
    public class GLKMeshBuffer
    extends NSObject
    implements MDLMeshBuffer
    Deprecated.
    GLKMeshBuffer Mesh buffers created when needs to allocate memory to back vertex or index data Memory backing these buffer are OpenGL buffers. Model I/O will load index and vertex data from from a model asset directly in to the 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

      • GLKMeshBuffer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static GLKMeshBuffer 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.
      • allocator

        @NotNull
        public @NotNull GLKMeshBufferAllocator allocator()
        Deprecated.
        Description copied from interface: MDLMeshBuffer
        [@property] allocator Allocator object used to create this buffer. This allcoator used for copy and relayout operations (such as when a new vertex descriptor is applied to a vertex buffer)
        Specified by:
        allocator in interface MDLMeshBuffer
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Deprecated.
        Specified by:
        copyWithZone in interface NSCopying
      • fillDataOffset

        public void fillDataOffset​(@NotNull
                                   @NotNull NSData data,
                                   long offset)
        Deprecated.
        Description copied from interface: MDLMeshBuffer
        fillData:offset: Fills buffer with data at offset Fills data.length bytes of data. Will not write beyond length of this buffer.
        Specified by:
        fillDataOffset in interface MDLMeshBuffer
        Parameters:
        data - Data to fill buffer with
        offset - Byte offset in buffer to begin filling data
      • glBufferName

        public int glBufferName()
        Deprecated.
        [@property] glBufferName glBufferName for buffer object backing vertex/index data Many GLKMeshBuffers may reference the same OpenGL buffer object, but each with its own offset. (i.e. Many GLKMeshBuffers may be suballocated from a single OpenGL buffer object)
      • length

        public long length()
        Deprecated.
        Description copied from interface: MDLMeshBuffer
        [@property] length Size in bytes of the buffer allocation
        Specified by:
        length in interface MDLMeshBuffer
      • map

        @NotNull
        public @NotNull MDLMeshBufferMap map()
        Deprecated.
        Description copied from interface: MDLMeshBuffer
        map CPU access to buffer's memory The buffer will remain mapped as long as the returned MDLMeshBufferMap object exists. Mapping a buffer may impose restrictions on a system. For instance, if the implementing class maps an OpenGL buffer, that buffer may be unavailable for rendering while mapped, and cause a draw failure. Precautions must be taken in such cases.
        Specified by:
        map in interface MDLMeshBuffer
        Returns:
        An MDLMeshBufferMap object to read or modify a buffer's memory
      • offset

        public long offset()
        Deprecated.
        [@property] offset Byte offset of the data within the OpenGL buffer
      • type

        public long type()
        Deprecated.
        Description copied from interface: MDLMeshBuffer
        [@property] type the intended type of the buffer
        Specified by:
        type in interface MDLMeshBuffer
      • zone

        @Nullable
        public @Nullable MDLMeshBufferZone zone()
        Deprecated.
        Description copied from interface: MDLMeshBuffer
        [@property] zone Zone from which this buffer was created This zone will be used for copy and relayout operations (such as when a new vertex descriptor is applied to a vertex buffer). If the default zone is used this will be nil.
        Specified by:
        zone in interface MDLMeshBuffer
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.