Package apple.glkit

Class GLKMesh

    • Constructor Detail

      • GLKMesh

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static GLKMesh 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()
      • 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()
      • newMeshesFromAssetSourceMeshesError

        public static NSArray<? extends GLKMesh> newMeshesFromAssetSourceMeshesError​(MDLAsset asset,
                                                                                     org.moe.natj.general.ptr.Ptr<NSArray<? extends MDLMesh>> sourceMeshes,
                                                                                     org.moe.natj.general.ptr.Ptr<NSError> error)
        newMeshesFromAsset:sourceMeshes:error: Initialize all meshes in a Model I/O asset. [@dicussion] A convenience method to create GLKit meshes from each mesh in a Model/IO asset. Resulting meshes are returned while Model I/O meshes from which they were generated will appear in the sourceMeshes array.
        Parameters:
        asset - Model I/O asset from which to create GLKit meshes
        sourceMeshes - Model I/O meshes corresponding the newly created GLKMeshes
        error - Pointer to an NSError object set if an error occurred
        return - GLKit meshes created from the Model I/O asset
        Returns:
        An array of GLKit meshes built an asset
      • 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()
      • initWithMeshError

        public GLKMesh initWithMeshError​(MDLMesh mesh,
                                         org.moe.natj.general.ptr.Ptr<NSError> error)
        initWithMesh:error: Initialize the mesh and the mesh's submeshes This does NOT initialize any meshes that are children of the Model I/O mesh [@error] Pointer to an NSError object which will be set if an error occurred
        Parameters:
        mesh - Model I/O Mesh from which to create this GLKit mesh
      • name

        public java.lang.String name()
        [@property] name Name of the mesh copies from the originating Model I/O mesh Can be used by the app to identiry the mesh in it's scene/world/renderer etc.
      • submeshes

        public NSArray<? extends GLKSubmesh> submeshes()
        [@property] submeshes Submeshes containing index buffers to rendering mesh verticies. Submeshes may also contain texture materials to apply when rendering this object
      • vertexBuffers

        public NSArray<? extends GLKMeshBuffer> vertexBuffers()
        [@property] vertexBuffers Array of buffers in which mesh vertex data resides
      • vertexCount

        public long vertexCount()
        [@property] vertexCount Number of verticies in the vertexBuffers
      • vertexDescriptor

        public MDLVertexDescriptor vertexDescriptor()
        [@property] vertexDescriptor Model I/O vertex descriptor specifying the layout of data in vertexBuffers This is not directly used by this object, but the application can use this information to determine rendering state or setup a vertex attribute object.