package vendor:darwin/MetalKit
⌘K
Ctrl+K
or
/
Index
Constants (0)
This section is empty.
Variables (17)
- ModelErrorDomain
- ModelErrorKey
- TextureLoaderCubeLayoutVertical
- TextureLoaderErrorDomain
- TextureLoaderErrorKey
- TextureLoaderOptionAllocateMipmaps
- TextureLoaderOptionCubeLayout
- TextureLoaderOptionGenerateMipmaps
- TextureLoaderOptionLoadAsArray
- TextureLoaderOptionOrigin
- TextureLoaderOptionSRGB
- TextureLoaderOptionTextureCPUCacheMode
- TextureLoaderOptionTextureStorageMode
- TextureLoaderOptionTextureUsage
- TextureLoaderOriginBottomLeft
- TextureLoaderOriginFlippedVertically
- TextureLoaderOriginTopLeft
Procedures (115)
MeshBufferAllocator_… (3)
- MetalVertexDescriptorFromModelIO
- MetalVertexDescriptorFromModelIOWithError
- MetalVertexFormatFromModelIO
- ModelIOVertexDescriptorFromMetal
- ModelIOVertexDescriptorFromMetalWithError
- ModelIOVertexFormatFromMetal
TextureLoader_… (26)
- TextureLoader_device
- TextureLoader_init
- TextureLoader_initWithDevice
- TextureLoader_newTextureWithCGImage_options
- TextureLoader_newTextureWithCGImage_options_completionHandler
- TextureLoader_newTextureWithCGImage_options_error
- TextureLoader_newTextureWithContentsOfURL_options
- TextureLoader_newTextureWithContentsOfURL_options_completionHandler
- TextureLoader_newTextureWithContentsOfURL_options_error
- TextureLoader_newTextureWithData_options
- TextureLoader_newTextureWithData_options_completionHandler
- TextureLoader_newTextureWithData_options_error
- TextureLoader_newTextureWithMDLTexture_options
- TextureLoader_newTextureWithMDLTexture_options_completionHandler
- TextureLoader_newTextureWithMDLTexture_options_error
- TextureLoader_newTextureWithName_scaleFactor_bundle_options
- TextureLoader_newTextureWithName_scaleFactor_bundle_options_completionHandler
- TextureLoader_newTextureWithName_scaleFactor_bundle_options_error
- TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options
- TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options_completionHandler
- TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options_error
- TextureLoader_newTexturesWithContentsOfURLs_options
- TextureLoader_newTexturesWithContentsOfURLs_options_completionHandler
- TextureLoader_newTexturesWithContentsOfURLs_options_error
- TextureLoader_newTexturesWithNames_scaleFactor_bundle_options_completionHandler
- TextureLoader_newTexturesWithNames_scaleFactor_displayGamut_bundle_options_completionHandler
- ViewDelegate_drawInMTKView
- ViewDelegate_mtkView
View_… (52)
- View_autoResizeDrawable
- View_clearColor
- View_clearDepth
- View_clearStencil
- View_colorPixelFormat
- View_colorspace
- View_currentDrawable
- View_currentMTL4RenderPassDescriptor
- View_currentRenderPassDescriptor
- View_delegate
- View_depthStencilAttachmentTextureUsage
- View_depthStencilPixelFormat
- View_depthStencilStorageMode
- View_depthStencilTexture
- View_device
- View_draw
- View_drawableSize
- View_enableSetNeedsDisplay
- View_framebufferOnly
- View_initWithCoder
- View_initWithFrame
- View_isPaused
- View_multisampleColorAttachmentTextureUsage
- View_multisampleColorTexture
- View_odinDelegate
- View_preferredDevice
- View_preferredDrawableSize
- View_preferredFramesPerSecond
- View_presentsWithTransaction
- View_releaseDrawables
- View_residencySet
- View_sampleCount
- View_setAutoResizeDrawable
- View_setClearColor
- View_setClearDepth
- View_setClearStencil
- View_setColorPixelFormat
- View_setColorspace
- View_setDelegate
- View_setDepthStencilAttachmentTextureUsage
- View_setDepthStencilPixelFormat
- View_setDepthStencilStorageMode
- View_setDevice
- View_setDrawableSize
- View_setEnableSetNeedsDisplay
- View_setFramebufferOnly
- View_setMultisampleColorAttachmentTextureUsage
- View_setOdinDelegate
- View_setPaused
- View_setPreferredFramesPerSecond
- View_setPresentsWithTransaction
- View_setSampleCount
Types
Class ¶
Class :: ^intrinsics.objc_class
Mesh ¶
@(objc_superclass=NS.Object) Mesh :: struct { using _: NS.Object, }@(objc_superclass=NS.Object) Mesh :: struct { using _: NS.Object, } // Objective-C class MTKMesh // Inherits NS.Object → NS.ObjectProtocol // 11 methods
Bound Objective-C Methods
- init () -> intrinsics.objc_instancetype
- initWithMesh (mesh, device) -> (res: ^Mesh, err: ^NS.Error)
- initWithMesh_error (mesh, device, error) -> intrinsics.objc_instancetype
- name () -> ^NS.String
- newMeshesFromAsset (asset, device, sourceMeshes) -> (res: ^NS.Array, err: ^NS.Error) class method
- newMeshesFromAsset_error(asset, device, sourceMeshes, error) -> ^NS.Array class method owned
- setName (name)
- submeshes () -> ^NS.Array
- vertexBuffers () -> ^NS.Array
- vertexCount () -> NS.UInteger
- vertexDescriptor () -> ^darwin_ModelIO.VertexDescriptor
Methods Inherited From NS.Object
- URL (…) overloaded
- URLResourceDidCancelLoading (sender)
- URLResourceDidFinishLoading (sender)
- URL_resourceDataDidBecomeAvailable (sender, newBytes)
- URL_resourceDidFailLoadingWithReason (sender, reason)
- accessInstanceVariablesDirectly () -> bool class method
- addObserver (observer, keyPath, options, _context)
- alloc () -> intrinsics.objc_instancetype class method owned
- allocWithZone (zone) -> intrinsics.objc_instancetype class method owned
- allowsWeakReference () -> bool
- attemptRecoveryFromError (…) overloaded
- attemptRecoveryFromError_optionIndex (error, recoveryOptionIndex) -> bool
- attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo(error, recoveryOptionIndex, delegate, didRecoverSelector, contextInfo)
- attributeKeys () -> ^NS.Array
- autoContentAccessingProxy () -> ^intrinsics.objc_object
- automaticallyNotifiesObserversForKey (key) -> bool class method
- awakeAfterUsingCoder (coder) -> ^intrinsics.objc_object
- cancelPreviousPerformRequestsWithTarget (…) class method overloaded
- cancelPreviousPerformRequestsWithTarget_ (aTarget) class method
- cancelPreviousPerformRequestsWithTarget_selector_object (aTarget, aSelector, anArgument) class method
- class () -> ^intrinsics.objc_class class method
- classCode () -> u32
- classDescription () -> ^NS.ClassDescription
- classFallbacksForKeyedArchiver () -> ^NS.Array class method
- classForArchiver () -> ^intrinsics.objc_class
- classForCoder () -> ^intrinsics.objc_class
- classForKeyedArchiver () -> ^intrinsics.objc_class
- classForKeyedUnarchiver () -> ^intrinsics.objc_class class method
- classForPortCoder () -> ^intrinsics.objc_class
- className () -> ^NS.String
- coerceValue (value, key) -> ^intrinsics.objc_object
- conformsToProtocol (protocol) -> bool class method
- copy () -> intrinsics.objc_instancetype owned
- copyScriptingValue (value, key, properties) -> ^intrinsics.objc_object owned
- copyWithZone (zone) -> intrinsics.objc_instancetype class method owned
- dealloc ()
- debugDescription () -> ^NS.String class method
- description () -> ^NS.String class method
- dictionaryWithValuesForKeys (keys) -> ^NS.Dictionary
- didChange (changeKind, indexes, key)
- didChangeValueForKey (…) overloaded
- didChangeValueForKey_ (key)
- didChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
- doesContain (object) -> bool
- doesNotRecognizeSelector (aSelector)
- fileManager (…) overloaded
- fileManager_shouldProceedAfterError (fm, errorInfo) -> bool
- fileManager_willProcessPath (fm, path)
- finalize ()
- forwardInvocation (anInvocation)
- forwardingTargetForSelector (aSelector) -> ^intrinsics.objc_object
- handleQueryWithUnboundKey (key) -> ^intrinsics.objc_object
- handleTakeValue (value, key)
- hash () -> NS.UInteger class method
- indicesOfObjectsByEvaluatingObjectSpecifier (specifier) -> ^NS.Array
- initialize () class method
- insertValue (…) overloaded
- insertValue_atIndex_inPropertyWithKey (value, index, key)
- insertValue_inPropertyWithKey (value, key)
- instanceMethodForSelector (aSelector) -> rawptr class method
- instanceMethodSignatureForSelector (aSelector) -> ^NS.MethodSignature class method
- instancesRespondToSelector (aSelector) -> bool class method
- inverseForRelationshipKey (relationshipKey) -> ^NS.String
- isCaseInsensitiveLike (object) -> bool
- isEqualTo (object) -> bool
- isGreaterThan (object) -> bool
- isGreaterThanOrEqualTo (object) -> bool
- isLessThan (object) -> bool
- isLessThanOrEqualTo (object) -> bool
- isLike (object) -> bool
- isNotEqualTo (object) -> bool
- isSubclassOfClass (aClass) -> bool class method
- keyPathsForValuesAffectingValueForKey (key) -> ^NS.Set class method
- load () class method
- methodForSelector (aSelector) -> rawptr
- methodSignatureForSelector (aSelector) -> ^NS.MethodSignature
- mutableArrayValueForKey (key) -> ^NS.MutableArray
- mutableArrayValueForKeyPath (keyPath) -> ^NS.MutableArray
- mutableCopy () -> intrinsics.objc_instancetype owned
- mutableCopyWithZone (zone) -> intrinsics.objc_instancetype class method owned
- mutableOrderedSetValueForKey (key) -> ^NS.MutableOrderedSet
- mutableOrderedSetValueForKeyPath (keyPath) -> ^NS.MutableOrderedSet
- mutableSetValueForKey (key) -> ^NS.MutableSet
- mutableSetValueForKeyPath (keyPath) -> ^NS.MutableSet
- new () -> intrinsics.objc_instancetype class method owned
- newScriptingObjectOfClass (objectClass, key, contentsValue, properties) -> ^intrinsics.objc_object owned
- objectSpecifier () -> ^NS.ScriptObjectSpecifier
- observationInfo () -> rawptr
- observeValueForKeyPath (keyPath, object, change, _context)
- performSelector (…) overloaded
- performSelectorInBackground (aSelector, arg)
- performSelectorOnMainThread (…) overloaded
- performSelectorOnMainThread_withObject_waitUntilDone (aSelector, arg, wait)
- performSelectorOnMainThread_withObject_waitUntilDone_modes (aSelector, arg, wait, array)
- performSelector_onThread_withObject_waitUntilDone (aSelector, thr, arg, wait)
- performSelector_onThread_withObject_waitUntilDone_modes (aSelector, thr, arg, wait, array)
- performSelector_withObject_afterDelay (aSelector, anArgument, delay)
- performSelector_withObject_afterDelay_inModes (aSelector, anArgument, delay, modes)
- poseAsClass (aClass) class method
- removeObserver (…) overloaded
- removeObserver_forKeyPath (observer, keyPath)
- removeObserver_forKeyPath_context (observer, keyPath, _context)
- removeValueAtIndex (index, key)
- replaceValueAtIndex (index, key, value)
- replacementObjectForArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForCoder (coder) -> ^intrinsics.objc_object
- replacementObjectForKeyedArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForPortCoder (coder) -> ^intrinsics.objc_object
- resolveClassMethod (sel) -> bool class method
- resolveInstanceMethod (sel) -> bool class method
- retainWeakReference () -> bool
- scriptingBeginsWith (object) -> bool
- scriptingContains (object) -> bool
- scriptingEndsWith (object) -> bool
- scriptingIsEqualTo (object) -> bool
- scriptingIsGreaterThan (object) -> bool
- scriptingIsGreaterThanOrEqualTo (object) -> bool
- scriptingIsLessThan (object) -> bool
- scriptingIsLessThanOrEqualTo (object) -> bool
- scriptingProperties () -> ^NS.Dictionary
- scriptingValueForSpecifier (objectSpecifier) -> ^intrinsics.objc_object
- setKeys (keys, dependentKey) class method
- setNilValueForKey (key)
- setObservationInfo (observationInfo)
- setScriptingProperties (scriptingProperties)
- setSharedObservers (sharedObservers)
- setValue_forKey (value, key)
- setValue_forKeyPath (value, keyPath)
- setValue_forUndefinedKey (value, key)
- setValuesForKeysWithDictionary (keyedValues)
- setVersion (aVersion) class method
- storedValueForKey (key) -> ^intrinsics.objc_object
- superclass () -> ^intrinsics.objc_class class method
- takeStoredValue (value, key)
- takeValue_forKey (value, key)
- takeValue_forKeyPath (value, keyPath)
- takeValuesFromDictionary (properties)
- toManyRelationshipKeys () -> ^NS.Array
- toOneRelationshipKeys () -> ^NS.Array
- unableToSetNilForKey (key)
- useStoredAccessor () -> bool class method
- validateValue_forKey (ioValue, inKey) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath (ioValue, inKeyPath) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath_error (ioValue, inKeyPath, outError) -> bool
- validateValue_forKey_error (ioValue, inKey, outError) -> bool
- valueAtIndex (index, key) -> ^intrinsics.objc_object
- valueForKey (key) -> ^intrinsics.objc_object
- valueForKeyPath (keyPath) -> ^intrinsics.objc_object
- valueForUndefinedKey (key) -> ^intrinsics.objc_object
- valueWithName (name, key) -> ^intrinsics.objc_object
- valueWithUniqueID (uniqueID, key) -> ^intrinsics.objc_object
- valuesForKeys (keys) -> ^NS.Dictionary
- version () -> NS.Integer class method
- willChange (changeKind, indexes, key)
- willChangeValueForKey (…) overloaded
- willChangeValueForKey_ (key)
- willChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
Methods Inherited From NS.ObjectProtocol
- autorelease () -> intrinsics.objc_instancetype
- isEqual (object) -> bool
- isKindOfClass (aClass) -> bool
- isMemberOfClass (aClass) -> bool
- isProxy () -> bool
- performSelector_ (aSelector) -> ^intrinsics.objc_object
- performSelector_withObject (aSelector, object) -> ^intrinsics.objc_object
- performSelector_withObject_withObject(aSelector, object1, object2) -> ^intrinsics.objc_object
- release ()
- respondsToSelector (aSelector) -> bool
- retain () -> intrinsics.objc_instancetype
- retainCount () -> NS.UInteger
- safeRelease () -> intrinsics.objc_instancetype
- self () -> intrinsics.objc_instancetype
- zone () -> ^NS._NSZone
MeshBuffer ¶
@(objc_superclass=NS.Object) MeshBuffer :: struct { using _: NS.Object, using _: darwin_ModelIO.MeshBuffer, using _: darwin_ModelIO.Named, }@(objc_superclass=NS.Object) MeshBuffer :: struct { using _: NS.Object, using _: darwin_ModelIO.MeshBuffer, using _: darwin_ModelIO.Named, } // Objective-C class MTKMeshBuffer // Inherits darwin_ModelIO.Named // 7 methods
Bound Objective-C Methods
- allocator() -> ^MeshBufferAllocator
- buffer () -> ^MTL.Buffer
- init () -> intrinsics.objc_instancetype
- length () -> NS.UInteger
- offset () -> NS.UInteger
- type () -> darwin_ModelIO.MeshBufferType
- zone () -> ^darwin_ModelIO.MeshBufferZone
Methods Inherited From darwin_ModelIO.Named
Methods Inherited From darwin_ModelIO.MeshBuffer
- fillData(data, offset)
- map () -> ^darwin_ModelIO.MeshBufferMap
Methods Inherited From NS.Copying
- copyWithZone(zone) -> ^intrinsics.objc_object owned
Methods Inherited From NS.ObjectProtocol
- autorelease () -> intrinsics.objc_instancetype
- class () -> ^intrinsics.objc_class
- conformsToProtocol (aProtocol) -> bool
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (object) -> bool
- isKindOfClass (aClass) -> bool
- isMemberOfClass (aClass) -> bool
- isProxy () -> bool
- performSelector (…) overloaded
- performSelector_ (aSelector) -> ^intrinsics.objc_object
- performSelector_withObject (aSelector, object) -> ^intrinsics.objc_object
- performSelector_withObject_withObject(aSelector, object1, object2) -> ^intrinsics.objc_object
- release ()
- respondsToSelector (aSelector) -> bool
- retain () -> intrinsics.objc_instancetype
- retainCount () -> NS.UInteger
- safeRelease () -> intrinsics.objc_instancetype
- self () -> intrinsics.objc_instancetype
- superclass () -> ^intrinsics.objc_class
Methods Inherited From NS.Object
- URL (…) overloaded
- URLResourceDidCancelLoading (sender)
- URLResourceDidFinishLoading (sender)
- URL_resourceDataDidBecomeAvailable (sender, newBytes)
- URL_resourceDidFailLoadingWithReason (sender, reason)
- accessInstanceVariablesDirectly () -> bool class method
- addObserver (observer, keyPath, options, _context)
- alloc () -> intrinsics.objc_instancetype class method owned
- allocWithZone (zone) -> intrinsics.objc_instancetype class method owned
- allowsWeakReference () -> bool
- attemptRecoveryFromError (…) overloaded
- attemptRecoveryFromError_optionIndex (error, recoveryOptionIndex) -> bool
- attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo(error, recoveryOptionIndex, delegate, didRecoverSelector, contextInfo)
- attributeKeys () -> ^NS.Array
- autoContentAccessingProxy () -> ^intrinsics.objc_object
- automaticallyNotifiesObserversForKey (key) -> bool class method
- awakeAfterUsingCoder (coder) -> ^intrinsics.objc_object
- cancelPreviousPerformRequestsWithTarget (…) class method overloaded
- cancelPreviousPerformRequestsWithTarget_ (aTarget) class method
- cancelPreviousPerformRequestsWithTarget_selector_object (aTarget, aSelector, anArgument) class method
- classCode () -> u32
- classDescription () -> ^NS.ClassDescription
- classFallbacksForKeyedArchiver () -> ^NS.Array class method
- classForArchiver () -> ^intrinsics.objc_class
- classForCoder () -> ^intrinsics.objc_class
- classForKeyedArchiver () -> ^intrinsics.objc_class
- classForKeyedUnarchiver () -> ^intrinsics.objc_class class method
- classForPortCoder () -> ^intrinsics.objc_class
- className () -> ^NS.String
- coerceValue (value, key) -> ^intrinsics.objc_object
- copy () -> intrinsics.objc_instancetype owned
- copyScriptingValue (value, key, properties) -> ^intrinsics.objc_object owned
- dealloc ()
- dictionaryWithValuesForKeys (keys) -> ^NS.Dictionary
- didChange (changeKind, indexes, key)
- didChangeValueForKey (…) overloaded
- didChangeValueForKey_ (key)
- didChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
- doesContain (object) -> bool
- doesNotRecognizeSelector (aSelector)
- fileManager (…) overloaded
- fileManager_shouldProceedAfterError (fm, errorInfo) -> bool
- fileManager_willProcessPath (fm, path)
- finalize ()
- forwardInvocation (anInvocation)
- forwardingTargetForSelector (aSelector) -> ^intrinsics.objc_object
- handleQueryWithUnboundKey (key) -> ^intrinsics.objc_object
- handleTakeValue (value, key)
- indicesOfObjectsByEvaluatingObjectSpecifier (specifier) -> ^NS.Array
- initialize () class method
- insertValue (…) overloaded
- insertValue_atIndex_inPropertyWithKey (value, index, key)
- insertValue_inPropertyWithKey (value, key)
- instanceMethodForSelector (aSelector) -> rawptr class method
- instanceMethodSignatureForSelector (aSelector) -> ^NS.MethodSignature class method
- instancesRespondToSelector (aSelector) -> bool class method
- inverseForRelationshipKey (relationshipKey) -> ^NS.String
- isCaseInsensitiveLike (object) -> bool
- isEqualTo (object) -> bool
- isGreaterThan (object) -> bool
- isGreaterThanOrEqualTo (object) -> bool
- isLessThan (object) -> bool
- isLessThanOrEqualTo (object) -> bool
- isLike (object) -> bool
- isNotEqualTo (object) -> bool
- isSubclassOfClass (aClass) -> bool class method
- keyPathsForValuesAffectingValueForKey (key) -> ^NS.Set class method
- load () class method
- methodForSelector (aSelector) -> rawptr
- methodSignatureForSelector (aSelector) -> ^NS.MethodSignature
- mutableArrayValueForKey (key) -> ^NS.MutableArray
- mutableArrayValueForKeyPath (keyPath) -> ^NS.MutableArray
- mutableCopy () -> intrinsics.objc_instancetype owned
- mutableCopyWithZone (zone) -> intrinsics.objc_instancetype class method owned
- mutableOrderedSetValueForKey (key) -> ^NS.MutableOrderedSet
- mutableOrderedSetValueForKeyPath (keyPath) -> ^NS.MutableOrderedSet
- mutableSetValueForKey (key) -> ^NS.MutableSet
- mutableSetValueForKeyPath (keyPath) -> ^NS.MutableSet
- new () -> intrinsics.objc_instancetype class method owned
- newScriptingObjectOfClass (objectClass, key, contentsValue, properties) -> ^intrinsics.objc_object owned
- objectSpecifier () -> ^NS.ScriptObjectSpecifier
- observationInfo () -> rawptr
- observeValueForKeyPath (keyPath, object, change, _context)
- performSelectorInBackground (aSelector, arg)
- performSelectorOnMainThread (…) overloaded
- performSelectorOnMainThread_withObject_waitUntilDone (aSelector, arg, wait)
- performSelectorOnMainThread_withObject_waitUntilDone_modes (aSelector, arg, wait, array)
- performSelector_onThread_withObject_waitUntilDone (aSelector, thr, arg, wait)
- performSelector_onThread_withObject_waitUntilDone_modes (aSelector, thr, arg, wait, array)
- performSelector_withObject_afterDelay (aSelector, anArgument, delay)
- performSelector_withObject_afterDelay_inModes (aSelector, anArgument, delay, modes)
- poseAsClass (aClass) class method
- removeObserver (…) overloaded
- removeObserver_forKeyPath (observer, keyPath)
- removeObserver_forKeyPath_context (observer, keyPath, _context)
- removeValueAtIndex (index, key)
- replaceValueAtIndex (index, key, value)
- replacementObjectForArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForCoder (coder) -> ^intrinsics.objc_object
- replacementObjectForKeyedArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForPortCoder (coder) -> ^intrinsics.objc_object
- resolveClassMethod (sel) -> bool class method
- resolveInstanceMethod (sel) -> bool class method
- retainWeakReference () -> bool
- scriptingBeginsWith (object) -> bool
- scriptingContains (object) -> bool
- scriptingEndsWith (object) -> bool
- scriptingIsEqualTo (object) -> bool
- scriptingIsGreaterThan (object) -> bool
- scriptingIsGreaterThanOrEqualTo (object) -> bool
- scriptingIsLessThan (object) -> bool
- scriptingIsLessThanOrEqualTo (object) -> bool
- scriptingProperties () -> ^NS.Dictionary
- scriptingValueForSpecifier (objectSpecifier) -> ^intrinsics.objc_object
- setKeys (keys, dependentKey) class method
- setNilValueForKey (key)
- setObservationInfo (observationInfo)
- setScriptingProperties (scriptingProperties)
- setSharedObservers (sharedObservers)
- setValue_forKey (value, key)
- setValue_forKeyPath (value, keyPath)
- setValue_forUndefinedKey (value, key)
- setValuesForKeysWithDictionary (keyedValues)
- setVersion (aVersion) class method
- storedValueForKey (key) -> ^intrinsics.objc_object
- takeStoredValue (value, key)
- takeValue_forKey (value, key)
- takeValue_forKeyPath (value, keyPath)
- takeValuesFromDictionary (properties)
- toManyRelationshipKeys () -> ^NS.Array
- toOneRelationshipKeys () -> ^NS.Array
- unableToSetNilForKey (key)
- useStoredAccessor () -> bool class method
- validateValue_forKey (ioValue, inKey) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath (ioValue, inKeyPath) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath_error (ioValue, inKeyPath, outError) -> bool
- validateValue_forKey_error (ioValue, inKey, outError) -> bool
- valueAtIndex (index, key) -> ^intrinsics.objc_object
- valueForKey (key) -> ^intrinsics.objc_object
- valueForKeyPath (keyPath) -> ^intrinsics.objc_object
- valueForUndefinedKey (key) -> ^intrinsics.objc_object
- valueWithName (name, key) -> ^intrinsics.objc_object
- valueWithUniqueID (uniqueID, key) -> ^intrinsics.objc_object
- valuesForKeys (keys) -> ^NS.Dictionary
- version () -> NS.Integer class method
- willChange (changeKind, indexes, key)
- willChangeValueForKey (…) overloaded
- willChangeValueForKey_ (key)
- willChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
MeshBufferAllocator ¶
@(objc_superclass=NS.Object) MeshBufferAllocator :: struct { using _: NS.Object, using _: darwin_ModelIO.MeshBufferAllocator, }@(objc_superclass=NS.Object) MeshBufferAllocator :: struct { using _: NS.Object, using _: darwin_ModelIO.MeshBufferAllocator, } // Objective-C class MTKMeshBufferAllocator // Inherits darwin_ModelIO.MeshBufferAllocator → NS.ObjectProtocol // 3 methods
Bound Objective-C Methods
- device () -> ^MTL.Device
- init () -> intrinsics.objc_instancetype
- initWithDevice(device) -> intrinsics.objc_instancetype
Methods Inherited From darwin_ModelIO.MeshBufferAllocator
- newBuffer (length, type) -> ^darwin_ModelIO.MeshBuffer owned
- newBufferFromZone (…) owned overloaded
- newBufferFromZone_data_type (zone, data, type) -> ^darwin_ModelIO.MeshBuffer owned
- newBufferFromZone_length_type(zone, length, type) -> ^darwin_ModelIO.MeshBuffer owned
- newBufferWithData (data, type) -> ^darwin_ModelIO.MeshBuffer owned
- newZone (capacity) -> ^darwin_ModelIO.MeshBufferZone owned
- newZoneForBuffersWithSize (sizes, types) -> ^darwin_ModelIO.MeshBufferZone owned
Methods Inherited From NS.ObjectProtocol
- autorelease () -> intrinsics.objc_instancetype
- class () -> ^intrinsics.objc_class
- conformsToProtocol (aProtocol) -> bool
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (object) -> bool
- isKindOfClass (aClass) -> bool
- isMemberOfClass (aClass) -> bool
- isProxy () -> bool
- performSelector (…) overloaded
- performSelector_ (aSelector) -> ^intrinsics.objc_object
- performSelector_withObject (aSelector, object) -> ^intrinsics.objc_object
- performSelector_withObject_withObject(aSelector, object1, object2) -> ^intrinsics.objc_object
- release ()
- respondsToSelector (aSelector) -> bool
- retain () -> intrinsics.objc_instancetype
- retainCount () -> NS.UInteger
- safeRelease () -> intrinsics.objc_instancetype
- self () -> intrinsics.objc_instancetype
- superclass () -> ^intrinsics.objc_class
- zone () -> ^NS._NSZone
Methods Inherited From NS.Object
- URL (…) overloaded
- URLResourceDidCancelLoading (sender)
- URLResourceDidFinishLoading (sender)
- URL_resourceDataDidBecomeAvailable (sender, newBytes)
- URL_resourceDidFailLoadingWithReason (sender, reason)
- accessInstanceVariablesDirectly () -> bool class method
- addObserver (observer, keyPath, options, _context)
- alloc () -> intrinsics.objc_instancetype class method owned
- allocWithZone (zone) -> intrinsics.objc_instancetype class method owned
- allowsWeakReference () -> bool
- attemptRecoveryFromError (…) overloaded
- attemptRecoveryFromError_optionIndex (error, recoveryOptionIndex) -> bool
- attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo(error, recoveryOptionIndex, delegate, didRecoverSelector, contextInfo)
- attributeKeys () -> ^NS.Array
- autoContentAccessingProxy () -> ^intrinsics.objc_object
- automaticallyNotifiesObserversForKey (key) -> bool class method
- awakeAfterUsingCoder (coder) -> ^intrinsics.objc_object
- cancelPreviousPerformRequestsWithTarget (…) class method overloaded
- cancelPreviousPerformRequestsWithTarget_ (aTarget) class method
- cancelPreviousPerformRequestsWithTarget_selector_object (aTarget, aSelector, anArgument) class method
- classCode () -> u32
- classDescription () -> ^NS.ClassDescription
- classFallbacksForKeyedArchiver () -> ^NS.Array class method
- classForArchiver () -> ^intrinsics.objc_class
- classForCoder () -> ^intrinsics.objc_class
- classForKeyedArchiver () -> ^intrinsics.objc_class
- classForKeyedUnarchiver () -> ^intrinsics.objc_class class method
- classForPortCoder () -> ^intrinsics.objc_class
- className () -> ^NS.String
- coerceValue (value, key) -> ^intrinsics.objc_object
- copy () -> intrinsics.objc_instancetype owned
- copyScriptingValue (value, key, properties) -> ^intrinsics.objc_object owned
- copyWithZone (zone) -> intrinsics.objc_instancetype class method owned
- dealloc ()
- dictionaryWithValuesForKeys (keys) -> ^NS.Dictionary
- didChange (changeKind, indexes, key)
- didChangeValueForKey (…) overloaded
- didChangeValueForKey_ (key)
- didChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
- doesContain (object) -> bool
- doesNotRecognizeSelector (aSelector)
- fileManager (…) overloaded
- fileManager_shouldProceedAfterError (fm, errorInfo) -> bool
- fileManager_willProcessPath (fm, path)
- finalize ()
- forwardInvocation (anInvocation)
- forwardingTargetForSelector (aSelector) -> ^intrinsics.objc_object
- handleQueryWithUnboundKey (key) -> ^intrinsics.objc_object
- handleTakeValue (value, key)
- indicesOfObjectsByEvaluatingObjectSpecifier (specifier) -> ^NS.Array
- initialize () class method
- insertValue (…) overloaded
- insertValue_atIndex_inPropertyWithKey (value, index, key)
- insertValue_inPropertyWithKey (value, key)
- instanceMethodForSelector (aSelector) -> rawptr class method
- instanceMethodSignatureForSelector (aSelector) -> ^NS.MethodSignature class method
- instancesRespondToSelector (aSelector) -> bool class method
- inverseForRelationshipKey (relationshipKey) -> ^NS.String
- isCaseInsensitiveLike (object) -> bool
- isEqualTo (object) -> bool
- isGreaterThan (object) -> bool
- isGreaterThanOrEqualTo (object) -> bool
- isLessThan (object) -> bool
- isLessThanOrEqualTo (object) -> bool
- isLike (object) -> bool
- isNotEqualTo (object) -> bool
- isSubclassOfClass (aClass) -> bool class method
- keyPathsForValuesAffectingValueForKey (key) -> ^NS.Set class method
- load () class method
- methodForSelector (aSelector) -> rawptr
- methodSignatureForSelector (aSelector) -> ^NS.MethodSignature
- mutableArrayValueForKey (key) -> ^NS.MutableArray
- mutableArrayValueForKeyPath (keyPath) -> ^NS.MutableArray
- mutableCopy () -> intrinsics.objc_instancetype owned
- mutableCopyWithZone (zone) -> intrinsics.objc_instancetype class method owned
- mutableOrderedSetValueForKey (key) -> ^NS.MutableOrderedSet
- mutableOrderedSetValueForKeyPath (keyPath) -> ^NS.MutableOrderedSet
- mutableSetValueForKey (key) -> ^NS.MutableSet
- mutableSetValueForKeyPath (keyPath) -> ^NS.MutableSet
- new () -> intrinsics.objc_instancetype class method owned
- newScriptingObjectOfClass (objectClass, key, contentsValue, properties) -> ^intrinsics.objc_object owned
- objectSpecifier () -> ^NS.ScriptObjectSpecifier
- observationInfo () -> rawptr
- observeValueForKeyPath (keyPath, object, change, _context)
- performSelectorInBackground (aSelector, arg)
- performSelectorOnMainThread (…) overloaded
- performSelectorOnMainThread_withObject_waitUntilDone (aSelector, arg, wait)
- performSelectorOnMainThread_withObject_waitUntilDone_modes (aSelector, arg, wait, array)
- performSelector_onThread_withObject_waitUntilDone (aSelector, thr, arg, wait)
- performSelector_onThread_withObject_waitUntilDone_modes (aSelector, thr, arg, wait, array)
- performSelector_withObject_afterDelay (aSelector, anArgument, delay)
- performSelector_withObject_afterDelay_inModes (aSelector, anArgument, delay, modes)
- poseAsClass (aClass) class method
- removeObserver (…) overloaded
- removeObserver_forKeyPath (observer, keyPath)
- removeObserver_forKeyPath_context (observer, keyPath, _context)
- removeValueAtIndex (index, key)
- replaceValueAtIndex (index, key, value)
- replacementObjectForArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForCoder (coder) -> ^intrinsics.objc_object
- replacementObjectForKeyedArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForPortCoder (coder) -> ^intrinsics.objc_object
- resolveClassMethod (sel) -> bool class method
- resolveInstanceMethod (sel) -> bool class method
- retainWeakReference () -> bool
- scriptingBeginsWith (object) -> bool
- scriptingContains (object) -> bool
- scriptingEndsWith (object) -> bool
- scriptingIsEqualTo (object) -> bool
- scriptingIsGreaterThan (object) -> bool
- scriptingIsGreaterThanOrEqualTo (object) -> bool
- scriptingIsLessThan (object) -> bool
- scriptingIsLessThanOrEqualTo (object) -> bool
- scriptingProperties () -> ^NS.Dictionary
- scriptingValueForSpecifier (objectSpecifier) -> ^intrinsics.objc_object
- setKeys (keys, dependentKey) class method
- setNilValueForKey (key)
- setObservationInfo (observationInfo)
- setScriptingProperties (scriptingProperties)
- setSharedObservers (sharedObservers)
- setValue_forKey (value, key)
- setValue_forKeyPath (value, keyPath)
- setValue_forUndefinedKey (value, key)
- setValuesForKeysWithDictionary (keyedValues)
- setVersion (aVersion) class method
- storedValueForKey (key) -> ^intrinsics.objc_object
- takeStoredValue (value, key)
- takeValue_forKey (value, key)
- takeValue_forKeyPath (value, keyPath)
- takeValuesFromDictionary (properties)
- toManyRelationshipKeys () -> ^NS.Array
- toOneRelationshipKeys () -> ^NS.Array
- unableToSetNilForKey (key)
- useStoredAccessor () -> bool class method
- validateValue_forKey (ioValue, inKey) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath (ioValue, inKeyPath) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath_error (ioValue, inKeyPath, outError) -> bool
- validateValue_forKey_error (ioValue, inKey, outError) -> bool
- valueAtIndex (index, key) -> ^intrinsics.objc_object
- valueForKey (key) -> ^intrinsics.objc_object
- valueForKeyPath (keyPath) -> ^intrinsics.objc_object
- valueForUndefinedKey (key) -> ^intrinsics.objc_object
- valueWithName (name, key) -> ^intrinsics.objc_object
- valueWithUniqueID (uniqueID, key) -> ^intrinsics.objc_object
- valuesForKeys (keys) -> ^NS.Dictionary
- version () -> NS.Integer class method
- willChange (changeKind, indexes, key)
- willChangeValueForKey (…) overloaded
- willChangeValueForKey_ (key)
- willChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
ModelError ¶
ModelError :: distinct ^NS.String
OdinViewDelegate ¶
OdinViewDelegate :: struct { drawInMTKView: proc "c" (self: ^OdinViewDelegate, view: ^View), drawableSizeWillChange: proc "c" (self: ^OdinViewDelegate, view: ^View, size: darwin_CoreGraphics.Size), user_data: rawptr, }
Protocol ¶
Protocol :: distinct ^intrinsics.objc_object
SEL ¶
SEL :: ^intrinsics.objc_selector
Submesh ¶
@(objc_superclass=NS.Object) Submesh :: struct { using _: NS.Object, }@(objc_superclass=NS.Object) Submesh :: struct { using _: NS.Object, } // Objective-C class MTKSubmesh // Inherits NS.Object → NS.ObjectProtocol // 8 methods
Bound Objective-C Methods
- indexBuffer () -> ^MeshBuffer
- indexCount () -> NS.UInteger
- indexType () -> MTL.IndexType
- init () -> intrinsics.objc_instancetype
- mesh () -> ^Mesh
- name () -> ^NS.String
- primitiveType() -> MTL.PrimitiveType
- setName (name)
Methods Inherited From NS.Object
- URL (…) overloaded
- URLResourceDidCancelLoading (sender)
- URLResourceDidFinishLoading (sender)
- URL_resourceDataDidBecomeAvailable (sender, newBytes)
- URL_resourceDidFailLoadingWithReason (sender, reason)
- accessInstanceVariablesDirectly () -> bool class method
- addObserver (observer, keyPath, options, _context)
- alloc () -> intrinsics.objc_instancetype class method owned
- allocWithZone (zone) -> intrinsics.objc_instancetype class method owned
- allowsWeakReference () -> bool
- attemptRecoveryFromError (…) overloaded
- attemptRecoveryFromError_optionIndex (error, recoveryOptionIndex) -> bool
- attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo(error, recoveryOptionIndex, delegate, didRecoverSelector, contextInfo)
- attributeKeys () -> ^NS.Array
- autoContentAccessingProxy () -> ^intrinsics.objc_object
- automaticallyNotifiesObserversForKey (key) -> bool class method
- awakeAfterUsingCoder (coder) -> ^intrinsics.objc_object
- cancelPreviousPerformRequestsWithTarget (…) class method overloaded
- cancelPreviousPerformRequestsWithTarget_ (aTarget) class method
- cancelPreviousPerformRequestsWithTarget_selector_object (aTarget, aSelector, anArgument) class method
- class () -> ^intrinsics.objc_class class method
- classCode () -> u32
- classDescription () -> ^NS.ClassDescription
- classFallbacksForKeyedArchiver () -> ^NS.Array class method
- classForArchiver () -> ^intrinsics.objc_class
- classForCoder () -> ^intrinsics.objc_class
- classForKeyedArchiver () -> ^intrinsics.objc_class
- classForKeyedUnarchiver () -> ^intrinsics.objc_class class method
- classForPortCoder () -> ^intrinsics.objc_class
- className () -> ^NS.String
- coerceValue (value, key) -> ^intrinsics.objc_object
- conformsToProtocol (protocol) -> bool class method
- copy () -> intrinsics.objc_instancetype owned
- copyScriptingValue (value, key, properties) -> ^intrinsics.objc_object owned
- copyWithZone (zone) -> intrinsics.objc_instancetype class method owned
- dealloc ()
- debugDescription () -> ^NS.String class method
- description () -> ^NS.String class method
- dictionaryWithValuesForKeys (keys) -> ^NS.Dictionary
- didChange (changeKind, indexes, key)
- didChangeValueForKey (…) overloaded
- didChangeValueForKey_ (key)
- didChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
- doesContain (object) -> bool
- doesNotRecognizeSelector (aSelector)
- fileManager (…) overloaded
- fileManager_shouldProceedAfterError (fm, errorInfo) -> bool
- fileManager_willProcessPath (fm, path)
- finalize ()
- forwardInvocation (anInvocation)
- forwardingTargetForSelector (aSelector) -> ^intrinsics.objc_object
- handleQueryWithUnboundKey (key) -> ^intrinsics.objc_object
- handleTakeValue (value, key)
- hash () -> NS.UInteger class method
- indicesOfObjectsByEvaluatingObjectSpecifier (specifier) -> ^NS.Array
- initialize () class method
- insertValue (…) overloaded
- insertValue_atIndex_inPropertyWithKey (value, index, key)
- insertValue_inPropertyWithKey (value, key)
- instanceMethodForSelector (aSelector) -> rawptr class method
- instanceMethodSignatureForSelector (aSelector) -> ^NS.MethodSignature class method
- instancesRespondToSelector (aSelector) -> bool class method
- inverseForRelationshipKey (relationshipKey) -> ^NS.String
- isCaseInsensitiveLike (object) -> bool
- isEqualTo (object) -> bool
- isGreaterThan (object) -> bool
- isGreaterThanOrEqualTo (object) -> bool
- isLessThan (object) -> bool
- isLessThanOrEqualTo (object) -> bool
- isLike (object) -> bool
- isNotEqualTo (object) -> bool
- isSubclassOfClass (aClass) -> bool class method
- keyPathsForValuesAffectingValueForKey (key) -> ^NS.Set class method
- load () class method
- methodForSelector (aSelector) -> rawptr
- methodSignatureForSelector (aSelector) -> ^NS.MethodSignature
- mutableArrayValueForKey (key) -> ^NS.MutableArray
- mutableArrayValueForKeyPath (keyPath) -> ^NS.MutableArray
- mutableCopy () -> intrinsics.objc_instancetype owned
- mutableCopyWithZone (zone) -> intrinsics.objc_instancetype class method owned
- mutableOrderedSetValueForKey (key) -> ^NS.MutableOrderedSet
- mutableOrderedSetValueForKeyPath (keyPath) -> ^NS.MutableOrderedSet
- mutableSetValueForKey (key) -> ^NS.MutableSet
- mutableSetValueForKeyPath (keyPath) -> ^NS.MutableSet
- new () -> intrinsics.objc_instancetype class method owned
- newScriptingObjectOfClass (objectClass, key, contentsValue, properties) -> ^intrinsics.objc_object owned
- objectSpecifier () -> ^NS.ScriptObjectSpecifier
- observationInfo () -> rawptr
- observeValueForKeyPath (keyPath, object, change, _context)
- performSelector (…) overloaded
- performSelectorInBackground (aSelector, arg)
- performSelectorOnMainThread (…) overloaded
- performSelectorOnMainThread_withObject_waitUntilDone (aSelector, arg, wait)
- performSelectorOnMainThread_withObject_waitUntilDone_modes (aSelector, arg, wait, array)
- performSelector_onThread_withObject_waitUntilDone (aSelector, thr, arg, wait)
- performSelector_onThread_withObject_waitUntilDone_modes (aSelector, thr, arg, wait, array)
- performSelector_withObject_afterDelay (aSelector, anArgument, delay)
- performSelector_withObject_afterDelay_inModes (aSelector, anArgument, delay, modes)
- poseAsClass (aClass) class method
- removeObserver (…) overloaded
- removeObserver_forKeyPath (observer, keyPath)
- removeObserver_forKeyPath_context (observer, keyPath, _context)
- removeValueAtIndex (index, key)
- replaceValueAtIndex (index, key, value)
- replacementObjectForArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForCoder (coder) -> ^intrinsics.objc_object
- replacementObjectForKeyedArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForPortCoder (coder) -> ^intrinsics.objc_object
- resolveClassMethod (sel) -> bool class method
- resolveInstanceMethod (sel) -> bool class method
- retainWeakReference () -> bool
- scriptingBeginsWith (object) -> bool
- scriptingContains (object) -> bool
- scriptingEndsWith (object) -> bool
- scriptingIsEqualTo (object) -> bool
- scriptingIsGreaterThan (object) -> bool
- scriptingIsGreaterThanOrEqualTo (object) -> bool
- scriptingIsLessThan (object) -> bool
- scriptingIsLessThanOrEqualTo (object) -> bool
- scriptingProperties () -> ^NS.Dictionary
- scriptingValueForSpecifier (objectSpecifier) -> ^intrinsics.objc_object
- setKeys (keys, dependentKey) class method
- setNilValueForKey (key)
- setObservationInfo (observationInfo)
- setScriptingProperties (scriptingProperties)
- setSharedObservers (sharedObservers)
- setValue_forKey (value, key)
- setValue_forKeyPath (value, keyPath)
- setValue_forUndefinedKey (value, key)
- setValuesForKeysWithDictionary (keyedValues)
- setVersion (aVersion) class method
- storedValueForKey (key) -> ^intrinsics.objc_object
- superclass () -> ^intrinsics.objc_class class method
- takeStoredValue (value, key)
- takeValue_forKey (value, key)
- takeValue_forKeyPath (value, keyPath)
- takeValuesFromDictionary (properties)
- toManyRelationshipKeys () -> ^NS.Array
- toOneRelationshipKeys () -> ^NS.Array
- unableToSetNilForKey (key)
- useStoredAccessor () -> bool class method
- validateValue_forKey (ioValue, inKey) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath (ioValue, inKeyPath) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath_error (ioValue, inKeyPath, outError) -> bool
- validateValue_forKey_error (ioValue, inKey, outError) -> bool
- valueAtIndex (index, key) -> ^intrinsics.objc_object
- valueForKey (key) -> ^intrinsics.objc_object
- valueForKeyPath (keyPath) -> ^intrinsics.objc_object
- valueForUndefinedKey (key) -> ^intrinsics.objc_object
- valueWithName (name, key) -> ^intrinsics.objc_object
- valueWithUniqueID (uniqueID, key) -> ^intrinsics.objc_object
- valuesForKeys (keys) -> ^NS.Dictionary
- version () -> NS.Integer class method
- willChange (changeKind, indexes, key)
- willChangeValueForKey (…) overloaded
- willChangeValueForKey_ (key)
- willChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
Methods Inherited From NS.ObjectProtocol
- autorelease () -> intrinsics.objc_instancetype
- isEqual (object) -> bool
- isKindOfClass (aClass) -> bool
- isMemberOfClass (aClass) -> bool
- isProxy () -> bool
- performSelector_ (aSelector) -> ^intrinsics.objc_object
- performSelector_withObject (aSelector, object) -> ^intrinsics.objc_object
- performSelector_withObject_withObject(aSelector, object1, object2) -> ^intrinsics.objc_object
- release ()
- respondsToSelector (aSelector) -> bool
- retain () -> intrinsics.objc_instancetype
- retainCount () -> NS.UInteger
- safeRelease () -> intrinsics.objc_instancetype
- self () -> intrinsics.objc_instancetype
- zone () -> ^NS._NSZone
TextureLoader ¶
@(objc_superclass=NS.Object) TextureLoader :: struct { using _: NS.Object, }@(objc_superclass=NS.Object) TextureLoader :: struct { using _: NS.Object, } // Objective-C class MTKTextureLoader // Inherits NS.Object → NS.ObjectProtocol // 33 methods
Bound Objective-C Methods
- device () -> ^MTL.Device
- init () -> intrinsics.objc_instancetype
- initWithDevice (device) -> intrinsics.objc_instancetype
- newTextureWithCGImage (…) overloaded
- newTextureWithCGImage_options (cgImage, options) -> (res: ^MTL.Texture, err: ^NS.Error)
- newTextureWithCGImage_options_completionHandler (cgImage, options, completionHandler)
- newTextureWithCGImage_options_error (cgImage, options, error) -> ^MTL.Texture owned
- newTextureWithContentsOfURL (…) overloaded
- newTextureWithContentsOfURL_options (_URL, options) -> (res: ^MTL.Texture, err: ^NS.Error)
- newTextureWithContentsOfURL_options_completionHandler (_URL, options, completionHandler)
- newTextureWithContentsOfURL_options_error (_URL, options, error) -> ^MTL.Texture owned
- newTextureWithData (…) overloaded
- newTextureWithData_options (data, options) -> (res: ^MTL.Texture, err: ^NS.Error)
- newTextureWithData_options_completionHandler (data, options, completionHandler)
- newTextureWithData_options_error (data, options, error) -> ^MTL.Texture owned
- newTextureWithMDLTexture (…) overloaded
- newTextureWithMDLTexture_options (texture, options) -> (res: ^MTL.Texture, err: ^NS.Error)
- newTextureWithMDLTexture_options_completionHandler (texture, options, completionHandler)
- newTextureWithMDLTexture_options_error (texture, options, error) -> ^MTL.Texture owned
- newTextureWithName (…) overloaded
- newTextureWithName_scaleFactor_bundle_options (name, scaleFactor, bundle, options) -> (res: ^MTL.Texture, err: ^NS.Error)
- newTextureWithName_scaleFactor_bundle_options_completionHandler (name, scaleFactor, bundle, options, completionHandler)
- newTextureWithName_scaleFactor_bundle_options_error (name, scaleFactor, bundle, options, error) -> ^MTL.Texture owned
- newTextureWithName_scaleFactor_displayGamut_bundle_options (name, scaleFactor, displayGamut, bundle, options) -> (res: ^MTL.Texture, err: ^NS.Error)
- newTextureWithName_scaleFactor_displayGamut_bundle_options_completionHandler (name, scaleFactor, displayGamut, bundle, options, completionHandler)
- newTextureWithName_scaleFactor_displayGamut_bundle_options_error (name, scaleFactor, displayGamut, bundle, options, error) -> ^MTL.Texture owned
- newTexturesWithContentsOfURLs (…) overloaded
- newTexturesWithContentsOfURLs_options (URLs, options) -> (res: ^NS.Array, err: ^NS.Error)
- newTexturesWithContentsOfURLs_options_completionHandler (URLs, options, completionHandler)
- newTexturesWithContentsOfURLs_options_error (URLs, options, error) -> ^NS.Array owned
- newTexturesWithNames (…) overloaded
- newTexturesWithNames_scaleFactor_bundle_options_completionHandler (names, scaleFactor, bundle, options, completionHandler)
- newTexturesWithNames_scaleFactor_displayGamut_bundle_options_completionHandler(names, scaleFactor, displayGamut, bundle, options, completionHandler)
Methods Inherited From NS.Object
- URL (…) overloaded
- URLResourceDidCancelLoading (sender)
- URLResourceDidFinishLoading (sender)
- URL_resourceDataDidBecomeAvailable (sender, newBytes)
- URL_resourceDidFailLoadingWithReason (sender, reason)
- accessInstanceVariablesDirectly () -> bool class method
- addObserver (observer, keyPath, options, _context)
- alloc () -> intrinsics.objc_instancetype class method owned
- allocWithZone (zone) -> intrinsics.objc_instancetype class method owned
- allowsWeakReference () -> bool
- attemptRecoveryFromError (…) overloaded
- attemptRecoveryFromError_optionIndex (error, recoveryOptionIndex) -> bool
- attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo(error, recoveryOptionIndex, delegate, didRecoverSelector, contextInfo)
- attributeKeys () -> ^NS.Array
- autoContentAccessingProxy () -> ^intrinsics.objc_object
- automaticallyNotifiesObserversForKey (key) -> bool class method
- awakeAfterUsingCoder (coder) -> ^intrinsics.objc_object
- cancelPreviousPerformRequestsWithTarget (…) class method overloaded
- cancelPreviousPerformRequestsWithTarget_ (aTarget) class method
- cancelPreviousPerformRequestsWithTarget_selector_object (aTarget, aSelector, anArgument) class method
- class () -> ^intrinsics.objc_class class method
- classCode () -> u32
- classDescription () -> ^NS.ClassDescription
- classFallbacksForKeyedArchiver () -> ^NS.Array class method
- classForArchiver () -> ^intrinsics.objc_class
- classForCoder () -> ^intrinsics.objc_class
- classForKeyedArchiver () -> ^intrinsics.objc_class
- classForKeyedUnarchiver () -> ^intrinsics.objc_class class method
- classForPortCoder () -> ^intrinsics.objc_class
- className () -> ^NS.String
- coerceValue (value, key) -> ^intrinsics.objc_object
- conformsToProtocol (protocol) -> bool class method
- copy () -> intrinsics.objc_instancetype owned
- copyScriptingValue (value, key, properties) -> ^intrinsics.objc_object owned
- copyWithZone (zone) -> intrinsics.objc_instancetype class method owned
- dealloc ()
- debugDescription () -> ^NS.String class method
- description () -> ^NS.String class method
- dictionaryWithValuesForKeys (keys) -> ^NS.Dictionary
- didChange (changeKind, indexes, key)
- didChangeValueForKey (…) overloaded
- didChangeValueForKey_ (key)
- didChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
- doesContain (object) -> bool
- doesNotRecognizeSelector (aSelector)
- fileManager (…) overloaded
- fileManager_shouldProceedAfterError (fm, errorInfo) -> bool
- fileManager_willProcessPath (fm, path)
- finalize ()
- forwardInvocation (anInvocation)
- forwardingTargetForSelector (aSelector) -> ^intrinsics.objc_object
- handleQueryWithUnboundKey (key) -> ^intrinsics.objc_object
- handleTakeValue (value, key)
- hash () -> NS.UInteger class method
- indicesOfObjectsByEvaluatingObjectSpecifier (specifier) -> ^NS.Array
- initialize () class method
- insertValue (…) overloaded
- insertValue_atIndex_inPropertyWithKey (value, index, key)
- insertValue_inPropertyWithKey (value, key)
- instanceMethodForSelector (aSelector) -> rawptr class method
- instanceMethodSignatureForSelector (aSelector) -> ^NS.MethodSignature class method
- instancesRespondToSelector (aSelector) -> bool class method
- inverseForRelationshipKey (relationshipKey) -> ^NS.String
- isCaseInsensitiveLike (object) -> bool
- isEqualTo (object) -> bool
- isGreaterThan (object) -> bool
- isGreaterThanOrEqualTo (object) -> bool
- isLessThan (object) -> bool
- isLessThanOrEqualTo (object) -> bool
- isLike (object) -> bool
- isNotEqualTo (object) -> bool
- isSubclassOfClass (aClass) -> bool class method
- keyPathsForValuesAffectingValueForKey (key) -> ^NS.Set class method
- load () class method
- methodForSelector (aSelector) -> rawptr
- methodSignatureForSelector (aSelector) -> ^NS.MethodSignature
- mutableArrayValueForKey (key) -> ^NS.MutableArray
- mutableArrayValueForKeyPath (keyPath) -> ^NS.MutableArray
- mutableCopy () -> intrinsics.objc_instancetype owned
- mutableCopyWithZone (zone) -> intrinsics.objc_instancetype class method owned
- mutableOrderedSetValueForKey (key) -> ^NS.MutableOrderedSet
- mutableOrderedSetValueForKeyPath (keyPath) -> ^NS.MutableOrderedSet
- mutableSetValueForKey (key) -> ^NS.MutableSet
- mutableSetValueForKeyPath (keyPath) -> ^NS.MutableSet
- new () -> intrinsics.objc_instancetype class method owned
- newScriptingObjectOfClass (objectClass, key, contentsValue, properties) -> ^intrinsics.objc_object owned
- objectSpecifier () -> ^NS.ScriptObjectSpecifier
- observationInfo () -> rawptr
- observeValueForKeyPath (keyPath, object, change, _context)
- performSelector (…) overloaded
- performSelectorInBackground (aSelector, arg)
- performSelectorOnMainThread (…) overloaded
- performSelectorOnMainThread_withObject_waitUntilDone (aSelector, arg, wait)
- performSelectorOnMainThread_withObject_waitUntilDone_modes (aSelector, arg, wait, array)
- performSelector_onThread_withObject_waitUntilDone (aSelector, thr, arg, wait)
- performSelector_onThread_withObject_waitUntilDone_modes (aSelector, thr, arg, wait, array)
- performSelector_withObject_afterDelay (aSelector, anArgument, delay)
- performSelector_withObject_afterDelay_inModes (aSelector, anArgument, delay, modes)
- poseAsClass (aClass) class method
- removeObserver (…) overloaded
- removeObserver_forKeyPath (observer, keyPath)
- removeObserver_forKeyPath_context (observer, keyPath, _context)
- removeValueAtIndex (index, key)
- replaceValueAtIndex (index, key, value)
- replacementObjectForArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForCoder (coder) -> ^intrinsics.objc_object
- replacementObjectForKeyedArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForPortCoder (coder) -> ^intrinsics.objc_object
- resolveClassMethod (sel) -> bool class method
- resolveInstanceMethod (sel) -> bool class method
- retainWeakReference () -> bool
- scriptingBeginsWith (object) -> bool
- scriptingContains (object) -> bool
- scriptingEndsWith (object) -> bool
- scriptingIsEqualTo (object) -> bool
- scriptingIsGreaterThan (object) -> bool
- scriptingIsGreaterThanOrEqualTo (object) -> bool
- scriptingIsLessThan (object) -> bool
- scriptingIsLessThanOrEqualTo (object) -> bool
- scriptingProperties () -> ^NS.Dictionary
- scriptingValueForSpecifier (objectSpecifier) -> ^intrinsics.objc_object
- setKeys (keys, dependentKey) class method
- setNilValueForKey (key)
- setObservationInfo (observationInfo)
- setScriptingProperties (scriptingProperties)
- setSharedObservers (sharedObservers)
- setValue_forKey (value, key)
- setValue_forKeyPath (value, keyPath)
- setValue_forUndefinedKey (value, key)
- setValuesForKeysWithDictionary (keyedValues)
- setVersion (aVersion) class method
- storedValueForKey (key) -> ^intrinsics.objc_object
- superclass () -> ^intrinsics.objc_class class method
- takeStoredValue (value, key)
- takeValue_forKey (value, key)
- takeValue_forKeyPath (value, keyPath)
- takeValuesFromDictionary (properties)
- toManyRelationshipKeys () -> ^NS.Array
- toOneRelationshipKeys () -> ^NS.Array
- unableToSetNilForKey (key)
- useStoredAccessor () -> bool class method
- validateValue_forKey (ioValue, inKey) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath (ioValue, inKeyPath) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath_error (ioValue, inKeyPath, outError) -> bool
- validateValue_forKey_error (ioValue, inKey, outError) -> bool
- valueAtIndex (index, key) -> ^intrinsics.objc_object
- valueForKey (key) -> ^intrinsics.objc_object
- valueForKeyPath (keyPath) -> ^intrinsics.objc_object
- valueForUndefinedKey (key) -> ^intrinsics.objc_object
- valueWithName (name, key) -> ^intrinsics.objc_object
- valueWithUniqueID (uniqueID, key) -> ^intrinsics.objc_object
- valuesForKeys (keys) -> ^NS.Dictionary
- version () -> NS.Integer class method
- willChange (changeKind, indexes, key)
- willChangeValueForKey (…) overloaded
- willChangeValueForKey_ (key)
- willChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
Methods Inherited From NS.ObjectProtocol
- autorelease () -> intrinsics.objc_instancetype
- isEqual (object) -> bool
- isKindOfClass (aClass) -> bool
- isMemberOfClass (aClass) -> bool
- isProxy () -> bool
- performSelector_ (aSelector) -> ^intrinsics.objc_object
- performSelector_withObject (aSelector, object) -> ^intrinsics.objc_object
- performSelector_withObject_withObject(aSelector, object1, object2) -> ^intrinsics.objc_object
- release ()
- respondsToSelector (aSelector) -> bool
- retain () -> intrinsics.objc_instancetype
- retainCount () -> NS.UInteger
- safeRelease () -> intrinsics.objc_instancetype
- self () -> intrinsics.objc_instancetype
- zone () -> ^NS._NSZone
TextureLoaderArrayCallback ¶
TextureLoaderArrayCallback :: ^runtime.Objc_Block($T=proc "cdecl" (^Array, ^Error))
Related Procedures With Parameters
- TextureLoader_newTexturesWithContentsOfURLs_options_completionHandler
- TextureLoader_newTexturesWithNames_scaleFactor_bundle_options_completionHandler
- TextureLoader_newTexturesWithNames_scaleFactor_displayGamut_bundle_options_completionHandler
- TextureLoader_newTexturesWithContentsOfURLs (procedure groups)
- TextureLoader_newTexturesWithNames (procedure groups)
TextureLoaderCallback ¶
TextureLoaderCallback :: ^runtime.Objc_Block($T=proc "cdecl" (^Texture, ^Error))
Related Procedures With Parameters
- TextureLoader_newTextureWithCGImage_options_completionHandler
- TextureLoader_newTextureWithContentsOfURL_options_completionHandler
- TextureLoader_newTextureWithData_options_completionHandler
- TextureLoader_newTextureWithMDLTexture_options_completionHandler
- TextureLoader_newTextureWithName_scaleFactor_bundle_options_completionHandler
- TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options_completionHandler
- TextureLoader_newTextureWithCGImage (procedure groups)
- TextureLoader_newTextureWithContentsOfURL (procedure groups)
- TextureLoader_newTextureWithData (procedure groups)
- TextureLoader_newTextureWithMDLTexture (procedure groups)
- TextureLoader_newTextureWithName (procedure groups)
TextureLoaderCubeLayout ¶
TextureLoaderCubeLayout :: distinct ^NS.String
TextureLoaderError ¶
TextureLoaderError :: distinct ^NS.String
TextureLoaderOptions ¶
TextureLoaderOptions :: distinct ^NS.String
TextureLoaderOrigin ¶
TextureLoaderOrigin :: distinct ^NS.String
View ¶
@(objc_superclass=UI_View) View :: struct { using _: darwin_AppKit.View, using _: NS.Coding, using _: CA.LayerDelegate, }@(objc_superclass=UI_View) View :: struct { using _: darwin_AppKit.View, using _: NS.Coding, using _: CA.LayerDelegate, } // Objective-C class MTKView // Inherits CA.LayerDelegate → NS.ObjectProtocol // 52 methods
Bound Objective-C Methods
- autoResizeDrawable () -> bool
- clearColor () -> MTL.ClearColor
- clearDepth () -> f64
- clearStencil () -> u32
- colorPixelFormat () -> MTL.PixelFormat
- colorspace () -> darwin_CoreGraphics.ColorSpaceRef
- currentDrawable () -> ^CA.MetalDrawable
- currentMTL4RenderPassDescriptor () -> ^MTL.MTL4RenderPassDescriptor
- currentRenderPassDescriptor () -> ^MTL.RenderPassDescriptor
- delegate () -> ^ViewDelegate
- depthStencilAttachmentTextureUsage () -> bit_set[MTL.TextureUsageFlag; u64]
- depthStencilPixelFormat () -> MTL.PixelFormat
- depthStencilStorageMode () -> MTL.StorageMode
- depthStencilTexture () -> ^MTL.Texture
- device () -> ^MTL.Device
- draw ()
- drawableSize () -> darwin_CoreGraphics.Size
- enableSetNeedsDisplay () -> bool
- framebufferOnly () -> bool
- initWithCoder (coder) -> intrinsics.objc_instancetype
- initWithFrame (frameRect, device) -> intrinsics.objc_instancetype
- isPaused () -> bool
- multisampleColorAttachmentTextureUsage () -> bit_set[MTL.TextureUsageFlag; u64]
- multisampleColorTexture () -> ^MTL.Texture
- odinDelegate () -> ^OdinViewDelegate
- preferredDevice () -> ^MTL.Device
- preferredDrawableSize () -> darwin_CoreGraphics.Size
- preferredFramesPerSecond () -> NS.Integer
- presentsWithTransaction () -> bool
- releaseDrawables ()
- residencySet () -> ^MTL.ResidencySet
- sampleCount () -> NS.UInteger
- setAutoResizeDrawable (autoResizeDrawable)
- setClearColor (clearColor)
- setClearDepth (clearDepth)
- setClearStencil (clearStencil)
- setColorPixelFormat (colorPixelFormat)
- setColorspace (colorspace)
- setDelegate (delegate)
- setDepthStencilAttachmentTextureUsage (depthStencilAttachmentTextureUsage)
- setDepthStencilPixelFormat (depthStencilPixelFormat)
- setDepthStencilStorageMode (depthStencilStorageMode)
- setDevice (device)
- setDrawableSize (drawableSize)
- setEnableSetNeedsDisplay (enableSetNeedsDisplay)
- setFramebufferOnly (framebufferOnly)
- setMultisampleColorAttachmentTextureUsage(multisampleColorAttachmentTextureUsage)
- setOdinDelegate (delegate)
- setPaused (paused)
- setPreferredFramesPerSecond (preferredFramesPerSecond)
- setPresentsWithTransaction (presentsWithTransaction)
- setSampleCount (sampleCount)
Methods Inherited From CA.LayerDelegate
- actionForLayer (layer, event) -> ^CA.Action
- displayLayer (layer)
- drawLayer (layer, ctx)
- layerWillDraw (layer)
- layoutSublayersOfLayer(layer)
Methods Inherited From NS.ObjectProtocol
- autorelease () -> intrinsics.objc_instancetype
- class () -> ^intrinsics.objc_class
- conformsToProtocol (aProtocol) -> bool
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (object) -> bool
- isKindOfClass (aClass) -> bool
- isMemberOfClass (aClass) -> bool
- isProxy () -> bool
- performSelector (…) overloaded
- performSelector_ (aSelector) -> ^intrinsics.objc_object
- performSelector_withObject (aSelector, object) -> ^intrinsics.objc_object
- performSelector_withObject_withObject(aSelector, object1, object2) -> ^intrinsics.objc_object
- release ()
- respondsToSelector (aSelector) -> bool
- retain () -> intrinsics.objc_instancetype
- retainCount () -> NS.UInteger
- safeRelease () -> intrinsics.objc_instancetype
- self () -> intrinsics.objc_instancetype
- superclass () -> ^intrinsics.objc_class
- zone () -> ^NS._NSZone
Methods Inherited From NS.Coding
- encodeWithCoder(coder)
Methods Inherited From darwin_AppKit.View
- acceptsFirstMouse (event) -> bool
- acceptsTouchEvents () -> bool
- addConstraint (constraint)
- addConstraints (constraints)
- addCursorRect (rect, object)
- addGestureRecognizer (gestureRecognizer)
- addLayoutGuide (guide)
- addSubview (…) overloaded
- addSubview_ (view)
- addSubview_positioned_relativeTo (view, place, otherView)
- addToolTipRect (rect, owner, data) -> darwin_AppKit.ToolTipTag
- addTrackingArea (trackingArea)
- addTrackingRect (rect, owner, data, flag) -> darwin_AppKit.TrackingRectTag
- additionalSafeAreaInsets () -> NS.EdgeInsets
- adjustPageHeightNew (newBottom, oldTop, oldBottom, bottomLimit)
- adjustPageWidthNew (newRight, oldLeft, oldRight, rightLimit)
- adjustScroll (newVisible) -> darwin_CoreGraphics.Rect
- alignmentRectForFrame (frame) -> darwin_CoreGraphics.Rect
- alignmentRectInsets () -> NS.EdgeInsets
- allocateGState ()
- allowedTouchTypes () -> bit_set[darwin_AppKit.TouchTypeMaskFlag; u64]
- allowsVibrancy () -> bool
- alphaValue () -> f64
- ancestorSharedWithView (view) -> ^darwin_AppKit.View
- autoresizesSubviews () -> bool
- autoresizingMask () -> bit_set[darwin_AppKit.AutoresizingMaskOption; u64]
- autoscroll (event) -> bool
- backgroundFilters () -> ^NS.Array
- backingAlignedRect (rect, options) -> darwin_CoreGraphics.Rect
- baselineOffsetFromBottom () -> f64
- beginDocument ()
- beginDraggingSessionWithItems (items, event, source) -> ^darwin_AppKit.DraggingSession
- beginPageInRect (rect, location)
- bitmapImageRepForCachingDisplayInRect (rect) -> ^darwin_AppKit.BitmapImageRep
- bottomAnchor () -> ^darwin_AppKit.LayoutYAxisAnchor
- bounds () -> darwin_CoreGraphics.Rect
- boundsRotation () -> f64
- cacheDisplayInRect (rect, bitmapImageRep)
- canBecomeKeyView () -> bool
- canDraw () -> bool
- canDrawConcurrently () -> bool
- canDrawSubviewsIntoLayer () -> bool
- candidateListTouchBarItem () -> ^darwin_AppKit.CandidateListTouchBarItem
- centerScanRect (rect) -> darwin_CoreGraphics.Rect
- centerXAnchor () -> ^darwin_AppKit.LayoutXAxisAnchor
- centerYAnchor () -> ^darwin_AppKit.LayoutYAxisAnchor
- clipsToBounds () -> bool
- compositingFilter () -> ^NS.Object
- constraints () -> ^NS.Array
- constraintsAffectingLayoutForOrientation (orientation) -> ^NS.Array
- contentCompressionResistancePriorityForOrientation (orientation) -> darwin_AppKit.LayoutPriority
- contentFilters () -> ^NS.Array
- contentHuggingPriorityForOrientation (orientation) -> darwin_AppKit.LayoutPriority
- convertPointFromBacking (point) -> darwin_CoreGraphics.Point
- convertPointFromBase (point) -> darwin_CoreGraphics.Point
- convertPointFromLayer (point) -> darwin_CoreGraphics.Point
- convertPointToBacking (point) -> darwin_CoreGraphics.Point
- convertPointToBase (point) -> darwin_CoreGraphics.Point
- convertPointToLayer (point) -> darwin_CoreGraphics.Point
- convertPoint_fromView (point, view) -> darwin_CoreGraphics.Point
- convertPoint_toView (point, view) -> darwin_CoreGraphics.Point
- convertRectFromBacking (rect) -> darwin_CoreGraphics.Rect
- convertRectFromBase (rect) -> darwin_CoreGraphics.Rect
- convertRectFromLayer (rect) -> darwin_CoreGraphics.Rect
- convertRectToBacking (rect) -> darwin_CoreGraphics.Rect
- convertRectToBase (rect) -> darwin_CoreGraphics.Rect
- convertRectToLayer (rect) -> darwin_CoreGraphics.Rect
- convertRect_fromView (rect, view) -> darwin_CoreGraphics.Rect
- convertRect_toView (rect, view) -> darwin_CoreGraphics.Rect
- convertSizeFromBacking (size) -> darwin_CoreGraphics.Size
- convertSizeFromBase (size) -> darwin_CoreGraphics.Size
- convertSizeFromLayer (size) -> darwin_CoreGraphics.Size
- convertSizeToBacking (size) -> darwin_CoreGraphics.Size
- convertSizeToBase (size) -> darwin_CoreGraphics.Size
- convertSizeToLayer (size) -> darwin_CoreGraphics.Size
- convertSize_fromView (size, view) -> darwin_CoreGraphics.Size
- convertSize_toView (size, view) -> darwin_CoreGraphics.Size
- dataWithEPSInsideRect (rect) -> ^NS.Data
- dataWithPDFInsideRect (rect) -> ^NS.Data
- defaultFocusRingType () -> darwin_AppKit.FocusRingType class method
- defaultMenu () -> ^darwin_AppKit.Menu class method
- didAddSubview (subview)
- didCloseMenu (menu, event)
- discardCursorRects ()
- display ()
- displayIfNeeded ()
- displayIfNeededIgnoringOpacity ()
- displayIfNeededInRect (rect)
- displayIfNeededInRectIgnoringOpacity (rect)
- displayLinkWithTarget (target, selector) -> ^CA.DisplayLink
- displayRect (rect)
- displayRectIgnoringOpacity (…) overloaded
- displayRectIgnoringOpacity_ (rect)
- displayRectIgnoringOpacity_inContext (rect, _context)
- dragFile (filename, rect, flag, event) -> bool
- dragImage (image, viewLocation, initialOffset, event, pboard, sourceObj, slideFlag)
- dragPromisedFilesOfTypes (typeArray, rect, sourceObject, flag, event) -> bool
- drawFocusRingMask ()
- drawPageBorderWithSize (borderSize)
- drawRect (dirtyRect)
- drawSheetBorderWithSize (borderSize)
- edgeInsetsForLayoutRegion (layoutRegion) -> NS.EdgeInsets
- enclosingMenuItem () -> ^darwin_AppKit.MenuItem
- enclosingScrollView () -> ^darwin_AppKit.ScrollView
- endDocument ()
- endPage ()
- enterFullScreenMode (screen, options) -> bool
- exerciseAmbiguityInLayout ()
- exitFullScreenModeWithOptions (options)
- firstBaselineAnchor () -> ^darwin_AppKit.LayoutYAxisAnchor
- firstBaselineOffsetFromTop () -> f64
- fittingSize () -> darwin_CoreGraphics.Size
- focusRingMaskBounds () -> darwin_CoreGraphics.Rect
- focusRingType () -> darwin_AppKit.FocusRingType
- focusView () -> ^darwin_AppKit.View class method
- frame () -> darwin_CoreGraphics.Rect
- frameCenterRotation () -> f64
- frameForAlignmentRect (alignmentRect) -> darwin_CoreGraphics.Rect
- frameRotation () -> f64
- gState () -> NS.Integer
- gestureRecognizers () -> ^NS.Array
- getRectsBeingDrawn (rects, count)
- getRectsExposedDuringLiveResize (exposedRects, count)
- hasAmbiguousLayout () -> bool
- heightAdjustLimit () -> f64
- heightAnchor () -> ^darwin_AppKit.LayoutDimension
- hitTest (point) -> ^darwin_AppKit.View
- inLiveResize () -> bool
- inputContext () -> ^darwin_AppKit.TextInputContext
- intrinsicContentSize () -> darwin_CoreGraphics.Size
- invalidateIntrinsicContentSize ()
- isCompatibleWithResponsiveScrolling () -> bool class method
- isDescendantOf (view) -> bool
- isDrawingFindIndicator () -> bool
- isFlipped () -> bool
- isHidden () -> bool
- isHiddenOrHasHiddenAncestor () -> bool
- isHorizontalContentSizeConstraintActive () -> bool
- isInFullScreenMode () -> bool
- isOpaque () -> bool
- isRotatedFromBase () -> bool
- isRotatedOrScaledFromBase () -> bool
- isVerticalContentSizeConstraintActive () -> bool
- knowsPageRange (range) -> bool
- lastBaselineAnchor () -> ^darwin_AppKit.LayoutYAxisAnchor
- lastBaselineOffsetFromBottom () -> f64
- layer () -> ^CA.Layer
- layerContentsPlacement () -> darwin_AppKit.ViewLayerContentsPlacement
- layerContentsRedrawPolicy () -> darwin_AppKit.ViewLayerContentsRedrawPolicy
- layerUsesCoreImageFilters () -> bool
- layout ()
- layoutGuideForLayoutRegion (layoutRegion) -> ^darwin_AppKit.LayoutGuide
- layoutGuides () -> ^NS.Array
- layoutMarginsGuide () -> ^darwin_AppKit.LayoutGuide
- layoutSubtreeIfNeeded ()
- leadingAnchor () -> ^darwin_AppKit.LayoutXAxisAnchor
- leftAnchor () -> ^darwin_AppKit.LayoutXAxisAnchor
- locationOfPrintRect (rect) -> darwin_CoreGraphics.Point
- lockFocus ()
- lockFocusIfCanDraw () -> bool
- lockFocusIfCanDrawInContext (_context) -> bool
- makeBackingLayer () -> ^CA.Layer
- menuForEvent (event) -> ^darwin_AppKit.Menu
- mouse (point, rect) -> bool
- mouseDownCanMoveWindow () -> bool
- needsDisplay () -> bool
- needsLayout () -> bool
- needsPanelToBecomeKey () -> bool
- needsToDrawRect (rect) -> bool
- needsUpdateConstraints () -> bool
- nextKeyView () -> ^darwin_AppKit.View
- nextValidKeyView () -> ^darwin_AppKit.View
- noteFocusRingMaskChanged ()
- opaqueAncestor () -> ^darwin_AppKit.View
- pageFooter () -> ^NS.AttributedString
- pageHeader () -> ^NS.AttributedString
- performKeyEquivalent (event) -> bool
- performMnemonic (string) -> bool
- postsBoundsChangedNotifications () -> bool
- postsFrameChangedNotifications () -> bool
- prefersCompactControlSizeMetrics () -> bool
- prepareContentInRect (rect)
- prepareForReuse ()
- preparedContentRect () -> darwin_CoreGraphics.Rect
- preservesContentDuringLiveResize () -> bool
- pressureConfiguration () -> ^darwin_AppKit.PressureConfiguration
- previousKeyView () -> ^darwin_AppKit.View
- previousValidKeyView () -> ^darwin_AppKit.View
- print (sender)
- printJobTitle () -> ^NS.String
- rectForLayoutRegion (layoutRegion) -> darwin_CoreGraphics.Rect
- rectForPage (page) -> darwin_CoreGraphics.Rect
- rectForSmartMagnificationAtPoint (location, visibleRect) -> darwin_CoreGraphics.Rect
- rectPreservedDuringLiveResize () -> darwin_CoreGraphics.Rect
- reflectScrolledClipView (clipView)
- registerForDraggedTypes (newTypes)
- registeredDraggedTypes () -> ^NS.Array
- releaseGState ()
- removeAllToolTips ()
- removeConstraint (constraint)
- removeConstraints (constraints)
- removeCursorRect (rect, object)
- removeFromSuperview ()
- removeFromSuperviewWithoutNeedingDisplay ()
- removeGestureRecognizer (gestureRecognizer)
- removeLayoutGuide (guide)
- removeToolTip (tag)
- removeTrackingArea (trackingArea)
- removeTrackingRect (tag)
- renewGState ()
- replaceSubview (oldView, newView)
- requiresConstraintBasedLayout () -> bool class method
- resetCursorRects ()
- resizeSubviewsWithOldSize (oldSize)
- resizeWithOldSuperviewSize (oldSize)
- rightAnchor () -> ^darwin_AppKit.LayoutXAxisAnchor
- rotateByAngle (angle)
- rulerView_didAddMarker (ruler, marker)
- rulerView_didMoveMarker (ruler, marker)
- rulerView_didRemoveMarker (ruler, marker)
- rulerView_handleMouseDown (ruler, event)
- rulerView_locationForPoint (ruler, point) -> f64
- rulerView_pointForLocation (ruler, point) -> darwin_CoreGraphics.Point
- rulerView_shouldAddMarker (ruler, marker) -> bool
- rulerView_shouldMoveMarker (ruler, marker) -> bool
- rulerView_shouldRemoveMarker (ruler, marker) -> bool
- rulerView_willAddMarker_atLocation (ruler, marker, location) -> f64
- rulerView_willMoveMarker_toLocation (ruler, marker, location) -> f64
- rulerView_willSetClientView (ruler, newClient)
- safeAreaInsets () -> NS.EdgeInsets
- safeAreaLayoutGuide () -> ^darwin_AppKit.LayoutGuide
- safeAreaRect () -> darwin_CoreGraphics.Rect
- scaleUnitSquareToSize (newUnitSize)
- scrollClipView (clipView, point)
- scrollPoint (point)
- scrollRect (rect, delta)
- scrollRectToVisible (rect) -> bool
- setAcceptsTouchEvents (acceptsTouchEvents)
- setAdditionalSafeAreaInsets (additionalSafeAreaInsets)
- setAllowedTouchTypes (allowedTouchTypes)
- setAlphaValue (alphaValue)
- setAutoresizesSubviews (autoresizesSubviews)
- setAutoresizingMask (autoresizingMask)
- setBackgroundFilters (backgroundFilters)
- setBounds (bounds)
- setBoundsOrigin (newOrigin)
- setBoundsRotation (boundsRotation)
- setBoundsSize (newSize)
- setCanDrawConcurrently (canDrawConcurrently)
- setCanDrawSubviewsIntoLayer (canDrawSubviewsIntoLayer)
- setClipsToBounds (clipsToBounds)
- setCompositingFilter (compositingFilter)
- setContentCompressionResistancePriority (priority, orientation)
- setContentFilters (contentFilters)
- setContentHuggingPriority (priority, orientation)
- setFocusRingType (focusRingType)
- setFrame (frame)
- setFrameCenterRotation (frameCenterRotation)
- setFrameOrigin (newOrigin)
- setFrameRotation (frameRotation)
- setFrameSize (newSize)
- setGestureRecognizers (gestureRecognizers)
- setHidden (hidden)
- setHorizontalContentSizeConstraintActive (horizontalContentSizeConstraintActive)
- setKeyboardFocusRingNeedsDisplayInRect (rect)
- setLayer (layer)
- setLayerContentsPlacement (layerContentsPlacement)
- setLayerContentsRedrawPolicy (layerContentsRedrawPolicy)
- setLayerUsesCoreImageFilters (layerUsesCoreImageFilters)
- setNeedsDisplay (needsDisplay)
- setNeedsDisplayInRect (invalidRect)
- setNeedsLayout (needsLayout)
- setNeedsUpdateConstraints (needsUpdateConstraints)
- setNextKeyView (nextKeyView)
- setPostsBoundsChangedNotifications (postsBoundsChangedNotifications)
- setPostsFrameChangedNotifications (postsFrameChangedNotifications)
- setPrefersCompactControlSizeMetrics (prefersCompactControlSizeMetrics)
- setPreparedContentRect (preparedContentRect)
- setPressureConfiguration (pressureConfiguration)
- setShadow (shadow)
- setSubviews (subviews)
- setToolTip (toolTip)
- setTranslatesAutoresizingMaskIntoConstraints (translatesAutoresizingMaskIntoConstraints)
- setUpGState ()
- setUserInterfaceLayoutDirection (userInterfaceLayoutDirection)
- setVerticalContentSizeConstraintActive (verticalContentSizeConstraintActive)
- setWantsBestResolutionOpenGLSurface (wantsBestResolutionOpenGLSurface)
- setWantsExtendedDynamicRangeOpenGLSurface (wantsExtendedDynamicRangeOpenGLSurface)
- setWantsLayer (wantsLayer)
- setWantsRestingTouches (wantsRestingTouches)
- setWritingToolsCoordinator (writingToolsCoordinator)
- shadow () -> ^darwin_AppKit.Shadow
- shouldDelayWindowOrderingForEvent (event) -> bool
- shouldDrawColor () -> bool
- showDefinitionForAttributedString (…) overloaded
- showDefinitionForAttributedString_atPoint (attrString, textBaselineOrigin)
- showDefinitionForAttributedString_range_options_baselineOriginProvider(attrString, targetRange, options, originProvider)
- sortSubviewsUsingFunction (compare, _context)
- subviews () -> ^NS.Array
- superview () -> ^darwin_AppKit.View
- tag () -> NS.Integer
- toolTip () -> ^NS.String
- topAnchor () -> ^darwin_AppKit.LayoutYAxisAnchor
- trackingAreas () -> ^NS.Array
- trailingAnchor () -> ^darwin_AppKit.LayoutXAxisAnchor
- translateOriginToPoint (translation)
- translateRectsNeedingDisplayInRect (clipRect, delta)
- translatesAutoresizingMaskIntoConstraints () -> bool
- unlockFocus ()
- unregisterDraggedTypes ()
- updateConstraints ()
- updateConstraintsForSubtreeIfNeeded ()
- updateLayer ()
- updateTrackingAreas ()
- userInterfaceLayoutDirection () -> darwin_AppKit.UserInterfaceLayoutDirection
- viewDidChangeBackingProperties ()
- viewDidChangeEffectiveAppearance ()
- viewDidEndLiveResize ()
- viewDidHide ()
- viewDidMoveToSuperview ()
- viewDidMoveToWindow ()
- viewDidUnhide ()
- viewWillDraw ()
- viewWillMoveToSuperview (newSuperview)
- viewWillMoveToWindow (newWindow)
- viewWillStartLiveResize ()
- viewWithTag (tag) -> ^darwin_AppKit.View
- visibleRect () -> darwin_CoreGraphics.Rect
- wantsBestResolutionOpenGLSurface () -> bool
- wantsDefaultClipping () -> bool
- wantsExtendedDynamicRangeOpenGLSurface () -> bool
- wantsLayer () -> bool
- wantsRestingTouches () -> bool
- wantsUpdateLayer () -> bool
- widthAdjustLimit () -> f64
- widthAnchor () -> ^darwin_AppKit.LayoutDimension
- willOpenMenu (menu, event)
- willRemoveSubview (subview)
- window () -> ^darwin_AppKit.Window
- writeEPSInsideRect (rect, pasteboard)
- writePDFInsideRect (rect, pasteboard)
- writingToolsCoordinator () -> ^darwin_AppKit.WritingToolsCoordinator
Methods Inherited From darwin_AppKit.Accessibility
- accessibilityActivationPoint () -> darwin_CoreGraphics.Point
- accessibilityAllowedValues () -> ^NS.Array
- accessibilityApplicationFocusedUIElement () -> ^intrinsics.objc_object
- accessibilityAttributedStringForRange (range) -> ^NS.AttributedString
- accessibilityAttributedUserInputLabels () -> ^NS.Array
- accessibilityCancelButton () -> ^intrinsics.objc_object
- accessibilityCellForColumn (column, row) -> ^intrinsics.objc_object
- accessibilityChildren () -> ^NS.Array
- accessibilityChildrenInNavigationOrder () -> ^NS.Array
- accessibilityClearButton () -> ^intrinsics.objc_object
- accessibilityCloseButton () -> ^intrinsics.objc_object
- accessibilityColumnCount () -> NS.Integer
- accessibilityColumnHeaderUIElements () -> ^NS.Array
- accessibilityColumnIndexRange () -> NS._NSRange
- accessibilityColumnTitles () -> ^NS.Array
- accessibilityColumns () -> ^NS.Array
- accessibilityContents () -> ^NS.Array
- accessibilityCriticalValue () -> ^intrinsics.objc_object
- accessibilityCustomActions () -> ^NS.Array
- accessibilityCustomRotors () -> ^NS.Array
- accessibilityDecrementButton () -> ^intrinsics.objc_object
- accessibilityDefaultButton () -> ^intrinsics.objc_object
- accessibilityDisclosedByRow () -> ^intrinsics.objc_object
- accessibilityDisclosedRows () -> ^intrinsics.objc_object
- accessibilityDisclosureLevel () -> NS.Integer
- accessibilityDocument () -> ^NS.String
- accessibilityExtrasMenuBar () -> ^intrinsics.objc_object
- accessibilityFilename () -> ^NS.String
- accessibilityFocusedWindow () -> ^intrinsics.objc_object
- accessibilityFrame () -> darwin_CoreGraphics.Rect
- accessibilityFrameForRange (range) -> darwin_CoreGraphics.Rect
- accessibilityFullScreenButton () -> ^intrinsics.objc_object
- accessibilityGrowArea () -> ^intrinsics.objc_object
- accessibilityHandles () -> ^NS.Array
- accessibilityHeader () -> ^intrinsics.objc_object
- accessibilityHelp () -> ^NS.String
- accessibilityHorizontalScrollBar () -> ^intrinsics.objc_object
- accessibilityHorizontalUnitDescription () -> ^NS.String
- accessibilityHorizontalUnits () -> darwin_AppKit.AccessibilityUnits
- accessibilityIdentifier () -> ^NS.String
- accessibilityIncrementButton () -> ^intrinsics.objc_object
- accessibilityIndex () -> NS.Integer
- accessibilityInsertionPointLineNumber () -> NS.Integer
- accessibilityLabel () -> ^NS.String
- accessibilityLabelUIElements () -> ^NS.Array
- accessibilityLabelValue () -> f32
- accessibilityLayoutPointForScreenPoint (point) -> darwin_CoreGraphics.Point
- accessibilityLayoutSizeForScreenSize (size) -> darwin_CoreGraphics.Size
- accessibilityLineForIndex (index) -> NS.Integer
- accessibilityLinkedUIElements () -> ^NS.Array
- accessibilityMainWindow () -> ^intrinsics.objc_object
- accessibilityMarkerGroupUIElement () -> ^intrinsics.objc_object
- accessibilityMarkerTypeDescription () -> ^NS.String
- accessibilityMarkerUIElements () -> ^NS.Array
- accessibilityMarkerValues () -> ^intrinsics.objc_object
- accessibilityMaxValue () -> ^intrinsics.objc_object
- accessibilityMenuBar () -> ^intrinsics.objc_object
- accessibilityMinValue () -> ^intrinsics.objc_object
- accessibilityMinimizeButton () -> ^intrinsics.objc_object
- accessibilityNextContents () -> ^NS.Array
- accessibilityNumberOfCharacters () -> NS.Integer
- accessibilityOrientation () -> darwin_AppKit.AccessibilityOrientation
- accessibilityOverflowButton () -> ^intrinsics.objc_object
- accessibilityParent () -> ^intrinsics.objc_object
- accessibilityPerformCancel () -> bool
- accessibilityPerformConfirm () -> bool
- accessibilityPerformDecrement () -> bool
- accessibilityPerformDelete () -> bool
- accessibilityPerformIncrement () -> bool
- accessibilityPerformPick () -> bool
- accessibilityPerformPress () -> bool
- accessibilityPerformRaise () -> bool
- accessibilityPerformShowAlternateUI () -> bool
- accessibilityPerformShowDefaultUI () -> bool
- accessibilityPerformShowMenu () -> bool
- accessibilityPlaceholderValue () -> ^NS.String
- accessibilityPreviousContents () -> ^NS.Array
- accessibilityProxy () -> ^intrinsics.objc_object
- accessibilityRTFForRange (range) -> ^NS.Data
- accessibilityRangeForIndex (index) -> NS._NSRange
- accessibilityRangeForLine (line) -> NS._NSRange
- accessibilityRangeForPosition (point) -> NS._NSRange
- accessibilityRole () -> ^NS.String
- accessibilityRoleDescription () -> ^NS.String
- accessibilityRowCount () -> NS.Integer
- accessibilityRowHeaderUIElements () -> ^NS.Array
- accessibilityRowIndexRange () -> NS._NSRange
- accessibilityRows () -> ^NS.Array
- accessibilityRulerMarkerType () -> darwin_AppKit.AccessibilityRulerMarkerType
- accessibilityScreenPointForLayoutPoint (point) -> darwin_CoreGraphics.Point
- accessibilityScreenSizeForLayoutSize (size) -> darwin_CoreGraphics.Size
- accessibilitySearchButton () -> ^intrinsics.objc_object
- accessibilitySearchMenu () -> ^intrinsics.objc_object
- accessibilitySelectedCells () -> ^NS.Array
- accessibilitySelectedChildren () -> ^NS.Array
- accessibilitySelectedColumns () -> ^NS.Array
- accessibilitySelectedRows () -> ^NS.Array
- accessibilitySelectedText () -> ^NS.String
- accessibilitySelectedTextRange () -> NS._NSRange
- accessibilitySelectedTextRanges () -> ^NS.Array
- accessibilityServesAsTitleForUIElements () -> ^NS.Array
- accessibilitySharedCharacterRange () -> NS._NSRange
- accessibilitySharedFocusElements () -> ^NS.Array
- accessibilitySharedTextUIElements () -> ^NS.Array
- accessibilityShownMenu () -> ^intrinsics.objc_object
- accessibilitySortDirection () -> darwin_AppKit.AccessibilitySortDirection
- accessibilitySplitters () -> ^NS.Array
- accessibilityStringForRange (range) -> ^NS.String
- accessibilityStyleRangeForIndex (index) -> NS._NSRange
- accessibilitySubrole () -> ^NS.String
- accessibilityTabs () -> ^NS.Array
- accessibilityTitle () -> ^NS.String
- accessibilityTitleUIElement () -> ^intrinsics.objc_object
- accessibilityToolbarButton () -> ^intrinsics.objc_object
- accessibilityTopLevelUIElement () -> ^intrinsics.objc_object
- accessibilityURL () -> ^NS.URL
- accessibilityUnitDescription () -> ^NS.String
- accessibilityUnits () -> darwin_AppKit.AccessibilityUnits
- accessibilityUserInputLabels () -> ^NS.Array
- accessibilityValue () -> ^intrinsics.objc_object
- accessibilityValueDescription () -> ^NS.String
- accessibilityVerticalScrollBar () -> ^intrinsics.objc_object
- accessibilityVerticalUnitDescription () -> ^NS.String
- accessibilityVerticalUnits () -> darwin_AppKit.AccessibilityUnits
- accessibilityVisibleCells () -> ^NS.Array
- accessibilityVisibleCharacterRange () -> NS._NSRange
- accessibilityVisibleChildren () -> ^NS.Array
- accessibilityVisibleColumns () -> ^NS.Array
- accessibilityVisibleRows () -> ^NS.Array
- accessibilityWarningValue () -> ^intrinsics.objc_object
- accessibilityWindow () -> ^intrinsics.objc_object
- accessibilityWindows () -> ^NS.Array
- accessibilityZoomButton () -> ^intrinsics.objc_object
- isAccessibilityAlternateUIVisible () -> bool
- isAccessibilityDisclosed () -> bool
- isAccessibilityEdited () -> bool
- isAccessibilityElement () -> bool
- isAccessibilityEnabled () -> bool
- isAccessibilityExpanded () -> bool
- isAccessibilityFocused () -> bool
- isAccessibilityFrontmost () -> bool
- isAccessibilityHidden () -> bool
- isAccessibilityMain () -> bool
- isAccessibilityMinimized () -> bool
- isAccessibilityModal () -> bool
- isAccessibilityOrderedByRow () -> bool
- isAccessibilityProtectedContent () -> bool
- isAccessibilityRequired () -> bool
- isAccessibilitySelected () -> bool
- isAccessibilitySelectorAllowed (selector) -> bool
- setAccessibilityActivationPoint (accessibilityActivationPoint)
- setAccessibilityAllowedValues (accessibilityAllowedValues)
- setAccessibilityAlternateUIVisible (accessibilityAlternateUIVisible)
- setAccessibilityApplicationFocusedUIElement(accessibilityApplicationFocusedUIElement)
- setAccessibilityAttributedUserInputLabels (accessibilityAttributedUserInputLabels)
- setAccessibilityCancelButton (accessibilityCancelButton)
- setAccessibilityChildren (accessibilityChildren)
- setAccessibilityChildrenInNavigationOrder (accessibilityChildrenInNavigationOrder)
- setAccessibilityClearButton (accessibilityClearButton)
- setAccessibilityCloseButton (accessibilityCloseButton)
- setAccessibilityColumnCount (accessibilityColumnCount)
- setAccessibilityColumnHeaderUIElements (accessibilityColumnHeaderUIElements)
- setAccessibilityColumnIndexRange (accessibilityColumnIndexRange)
- setAccessibilityColumnTitles (accessibilityColumnTitles)
- setAccessibilityColumns (accessibilityColumns)
- setAccessibilityContents (accessibilityContents)
- setAccessibilityCriticalValue (accessibilityCriticalValue)
- setAccessibilityCustomActions (accessibilityCustomActions)
- setAccessibilityCustomRotors (accessibilityCustomRotors)
- setAccessibilityDecrementButton (accessibilityDecrementButton)
- setAccessibilityDefaultButton (accessibilityDefaultButton)
- setAccessibilityDisclosed (accessibilityDisclosed)
- setAccessibilityDisclosedByRow (accessibilityDisclosedByRow)
- setAccessibilityDisclosedRows (accessibilityDisclosedRows)
- setAccessibilityDisclosureLevel (accessibilityDisclosureLevel)
- setAccessibilityDocument (accessibilityDocument)
- setAccessibilityEdited (accessibilityEdited)
- setAccessibilityElement (accessibilityElement)
- setAccessibilityEnabled (accessibilityEnabled)
- setAccessibilityExpanded (accessibilityExpanded)
- setAccessibilityExtrasMenuBar (accessibilityExtrasMenuBar)
- setAccessibilityFilename (accessibilityFilename)
- setAccessibilityFocused (accessibilityFocused)
- setAccessibilityFocusedWindow (accessibilityFocusedWindow)
- setAccessibilityFrame (accessibilityFrame)
- setAccessibilityFrontmost (accessibilityFrontmost)
- setAccessibilityFullScreenButton (accessibilityFullScreenButton)
- setAccessibilityGrowArea (accessibilityGrowArea)
- setAccessibilityHandles (accessibilityHandles)
- setAccessibilityHeader (accessibilityHeader)
- setAccessibilityHelp (accessibilityHelp)
- setAccessibilityHidden (accessibilityHidden)
- setAccessibilityHorizontalScrollBar (accessibilityHorizontalScrollBar)
- setAccessibilityHorizontalUnitDescription (accessibilityHorizontalUnitDescription)
- setAccessibilityHorizontalUnits (accessibilityHorizontalUnits)
- setAccessibilityIdentifier (accessibilityIdentifier)
- setAccessibilityIncrementButton (accessibilityIncrementButton)
- setAccessibilityIndex (accessibilityIndex)
- setAccessibilityInsertionPointLineNumber (accessibilityInsertionPointLineNumber)
- setAccessibilityLabel (accessibilityLabel)
- setAccessibilityLabelUIElements (accessibilityLabelUIElements)
- setAccessibilityLabelValue (accessibilityLabelValue)
- setAccessibilityLinkedUIElements (accessibilityLinkedUIElements)
- setAccessibilityMain (accessibilityMain)
- setAccessibilityMainWindow (accessibilityMainWindow)
- setAccessibilityMarkerGroupUIElement (accessibilityMarkerGroupUIElement)
- setAccessibilityMarkerTypeDescription (accessibilityMarkerTypeDescription)
- setAccessibilityMarkerUIElements (accessibilityMarkerUIElements)
- setAccessibilityMarkerValues (accessibilityMarkerValues)
- setAccessibilityMaxValue (accessibilityMaxValue)
- setAccessibilityMenuBar (accessibilityMenuBar)
- setAccessibilityMinValue (accessibilityMinValue)
- setAccessibilityMinimizeButton (accessibilityMinimizeButton)
- setAccessibilityMinimized (accessibilityMinimized)
- setAccessibilityModal (accessibilityModal)
- setAccessibilityNextContents (accessibilityNextContents)
- setAccessibilityNumberOfCharacters (accessibilityNumberOfCharacters)
- setAccessibilityOrderedByRow (accessibilityOrderedByRow)
- setAccessibilityOrientation (accessibilityOrientation)
- setAccessibilityOverflowButton (accessibilityOverflowButton)
- setAccessibilityParent (accessibilityParent)
- setAccessibilityPlaceholderValue (accessibilityPlaceholderValue)
- setAccessibilityPreviousContents (accessibilityPreviousContents)
- setAccessibilityProtectedContent (accessibilityProtectedContent)
- setAccessibilityProxy (accessibilityProxy)
- setAccessibilityRequired (accessibilityRequired)
- setAccessibilityRole (accessibilityRole)
- setAccessibilityRoleDescription (accessibilityRoleDescription)
- setAccessibilityRowCount (accessibilityRowCount)
- setAccessibilityRowHeaderUIElements (accessibilityRowHeaderUIElements)
- setAccessibilityRowIndexRange (accessibilityRowIndexRange)
- setAccessibilityRows (accessibilityRows)
- setAccessibilityRulerMarkerType (accessibilityRulerMarkerType)
- setAccessibilitySearchButton (accessibilitySearchButton)
- setAccessibilitySearchMenu (accessibilitySearchMenu)
- setAccessibilitySelected (accessibilitySelected)
- setAccessibilitySelectedCells (accessibilitySelectedCells)
- setAccessibilitySelectedChildren (accessibilitySelectedChildren)
- setAccessibilitySelectedColumns (accessibilitySelectedColumns)
- setAccessibilitySelectedRows (accessibilitySelectedRows)
- setAccessibilitySelectedText (accessibilitySelectedText)
- setAccessibilitySelectedTextRange (accessibilitySelectedTextRange)
- setAccessibilitySelectedTextRanges (accessibilitySelectedTextRanges)
- setAccessibilityServesAsTitleForUIElements (accessibilityServesAsTitleForUIElements)
- setAccessibilitySharedCharacterRange (accessibilitySharedCharacterRange)
- setAccessibilitySharedFocusElements (accessibilitySharedFocusElements)
- setAccessibilitySharedTextUIElements (accessibilitySharedTextUIElements)
- setAccessibilityShownMenu (accessibilityShownMenu)
- setAccessibilitySortDirection (accessibilitySortDirection)
- setAccessibilitySplitters (accessibilitySplitters)
- setAccessibilitySubrole (accessibilitySubrole)
- setAccessibilityTabs (accessibilityTabs)
- setAccessibilityTitle (accessibilityTitle)
- setAccessibilityTitleUIElement (accessibilityTitleUIElement)
- setAccessibilityToolbarButton (accessibilityToolbarButton)
- setAccessibilityTopLevelUIElement (accessibilityTopLevelUIElement)
- setAccessibilityURL (accessibilityURL)
- setAccessibilityUnitDescription (accessibilityUnitDescription)
- setAccessibilityUnits (accessibilityUnits)
- setAccessibilityUserInputLabels (accessibilityUserInputLabels)
- setAccessibilityValue (accessibilityValue)
- setAccessibilityValueDescription (accessibilityValueDescription)
- setAccessibilityVerticalScrollBar (accessibilityVerticalScrollBar)
- setAccessibilityVerticalUnitDescription (accessibilityVerticalUnitDescription)
- setAccessibilityVerticalUnits (accessibilityVerticalUnits)
- setAccessibilityVisibleCells (accessibilityVisibleCells)
- setAccessibilityVisibleCharacterRange (accessibilityVisibleCharacterRange)
- setAccessibilityVisibleChildren (accessibilityVisibleChildren)
- setAccessibilityVisibleColumns (accessibilityVisibleColumns)
- setAccessibilityVisibleRows (accessibilityVisibleRows)
- setAccessibilityWarningValue (accessibilityWarningValue)
- setAccessibilityWindow (accessibilityWindow)
- setAccessibilityWindows (accessibilityWindows)
- setAccessibilityZoomButton (accessibilityZoomButton)
Methods Inherited From darwin_AppKit.AppearanceCustomization
- appearance () -> ^darwin_AppKit.Appearance
- effectiveAppearance() -> ^darwin_AppKit.Appearance
- setAppearance (appearance)
Methods Inherited From darwin_AppKit.DraggingDestination
- concludeDragOperation (sender)
- draggingEnded (sender)
- draggingEntered (sender) -> bit_set[darwin_AppKit.DragOperationFlag; u64]
- draggingExited (sender)
- draggingUpdated (sender) -> bit_set[darwin_AppKit.DragOperationFlag; u64]
- performDragOperation (sender) -> bool
- prepareForDragOperation (sender) -> bool
- updateDraggingItemsForDrag (sender)
- wantsPeriodicDraggingUpdates() -> bool
Methods Inherited From darwin_AppKit.UserInterfaceItemIdentification
- identifier () -> ^NS.String
- setIdentifier(identifier)
Methods Inherited From darwin_AppKit.AnimatablePropertyContainer
- animationForKey (key) -> ^intrinsics.objc_object
- animations () -> ^NS.Dictionary
- animator () -> intrinsics.objc_instancetype
- defaultAnimationForKey(key) -> ^intrinsics.objc_object class method
- setAnimations (animations)
Methods Inherited From darwin_AppKit.Responder
- acceptsFirstResponder () -> bool
- allowedClassesForRestorableStateKeyPath (keyPath) -> ^NS.Array class method
- becomeFirstResponder () -> bool
- beginGestureWithEvent (event)
- changeModeWithEvent (event)
- contextMenuKeyDown (event)
- cursorUpdate (event)
- encodeRestorableStateWithCoder (…) overloaded
- encodeRestorableStateWithCoder_ (coder)
- encodeRestorableStateWithCoder_backgroundQueue (coder, queue)
- endGestureWithEvent (event)
- flagsChanged (event)
- flushBufferedKeyEvents ()
- helpRequested (eventPtr)
- init () -> intrinsics.objc_instancetype
- interfaceStyle () -> darwin_AppKit.InterfaceStyle
- interpretKeyEvents (eventArray)
- invalidateRestorableState ()
- keyDown (event)
- keyUp (event)
- magnifyWithEvent (event)
- makeTouchBar () -> ^darwin_AppKit.TouchBar
- menu () -> ^darwin_AppKit.Menu
- mouseCancelled (event)
- mouseDown (event)
- mouseDragged (event)
- mouseEntered (event)
- mouseExited (event)
- mouseMoved (event)
- mouseUp (event)
- newWindowForTab (sender)
- nextResponder () -> ^darwin_AppKit.Responder
- noResponderFor (eventSelector)
- otherMouseDown (event)
- otherMouseDragged (event)
- otherMouseUp (event)
- performTextFinderAction (sender)
- presentError (…) overloaded
- presentError_ (error) -> bool
- presentError_modalForWindow_delegate_didPresentSelector_contextInfo(error, window, delegate, didPresentSelector, contextInfo)
- pressureChangeWithEvent (event)
- quickLookWithEvent (event)
- resignFirstResponder () -> bool
- restorableStateKeyPaths () -> ^NS.Array class method
- restoreStateWithCoder (coder)
- rightMouseDown (event)
- rightMouseDragged (event)
- rightMouseUp (event)
- rotateWithEvent (event)
- scrollWheel (event)
- setInterfaceStyle (interfaceStyle)
- setMenu (menu)
- setNextResponder (nextResponder)
- setTouchBar (touchBar)
- setUserActivity (userActivity)
- shouldBeTreatedAsInkEvent (event) -> bool
- showContextHelp (sender)
- showWritingTools (sender)
- smartMagnifyWithEvent (event)
- supplementalTargetForAction (action, sender) -> ^intrinsics.objc_object
- swipeWithEvent (event)
- tabletPoint (event)
- tabletProximity (event)
- touchBar () -> ^darwin_AppKit.TouchBar
- touchesBeganWithEvent (event)
- touchesCancelledWithEvent (event)
- touchesEndedWithEvent (event)
- touchesMovedWithEvent (event)
- tryToPerform (action, object) -> bool
- undoManager () -> ^NS.UndoManager
- updateUserActivityState (userActivity)
- userActivity () -> ^NS.UserActivity
- validRequestorForSendType (sendType, returnType) -> ^intrinsics.objc_object
- validateProposedFirstResponder (responder, event) -> bool
- wantsForwardedScrollEventsForAxis (axis) -> bool
- wantsScrollEventsForSwipeTrackingOnAxis (axis) -> bool
- willPresentError (error) -> ^NS.Error
Methods Inherited From NS.Object
- URL (…) overloaded
- URLResourceDidCancelLoading (sender)
- URLResourceDidFinishLoading (sender)
- URL_resourceDataDidBecomeAvailable (sender, newBytes)
- URL_resourceDidFailLoadingWithReason (sender, reason)
- accessInstanceVariablesDirectly () -> bool class method
- addObserver (observer, keyPath, options, _context)
- alloc () -> intrinsics.objc_instancetype class method owned
- allocWithZone (zone) -> intrinsics.objc_instancetype class method owned
- allowsWeakReference () -> bool
- attemptRecoveryFromError (…) overloaded
- attemptRecoveryFromError_optionIndex (error, recoveryOptionIndex) -> bool
- attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo(error, recoveryOptionIndex, delegate, didRecoverSelector, contextInfo)
- attributeKeys () -> ^NS.Array
- autoContentAccessingProxy () -> ^intrinsics.objc_object
- automaticallyNotifiesObserversForKey (key) -> bool class method
- awakeAfterUsingCoder (coder) -> ^intrinsics.objc_object
- cancelPreviousPerformRequestsWithTarget (…) class method overloaded
- cancelPreviousPerformRequestsWithTarget_ (aTarget) class method
- cancelPreviousPerformRequestsWithTarget_selector_object (aTarget, aSelector, anArgument) class method
- classCode () -> u32
- classDescription () -> ^NS.ClassDescription
- classFallbacksForKeyedArchiver () -> ^NS.Array class method
- classForArchiver () -> ^intrinsics.objc_class
- classForCoder () -> ^intrinsics.objc_class
- classForKeyedArchiver () -> ^intrinsics.objc_class
- classForKeyedUnarchiver () -> ^intrinsics.objc_class class method
- classForPortCoder () -> ^intrinsics.objc_class
- className () -> ^NS.String
- coerceValue (value, key) -> ^intrinsics.objc_object
- copy () -> intrinsics.objc_instancetype owned
- copyScriptingValue (value, key, properties) -> ^intrinsics.objc_object owned
- copyWithZone (zone) -> intrinsics.objc_instancetype class method owned
- dealloc ()
- dictionaryWithValuesForKeys (keys) -> ^NS.Dictionary
- didChange (changeKind, indexes, key)
- didChangeValueForKey (…) overloaded
- didChangeValueForKey_ (key)
- didChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
- doesContain (object) -> bool
- doesNotRecognizeSelector (aSelector)
- fileManager (…) overloaded
- fileManager_shouldProceedAfterError (fm, errorInfo) -> bool
- fileManager_willProcessPath (fm, path)
- finalize ()
- forwardInvocation (anInvocation)
- forwardingTargetForSelector (aSelector) -> ^intrinsics.objc_object
- handleQueryWithUnboundKey (key) -> ^intrinsics.objc_object
- handleTakeValue (value, key)
- indicesOfObjectsByEvaluatingObjectSpecifier (specifier) -> ^NS.Array
- initialize () class method
- insertValue (…) overloaded
- insertValue_atIndex_inPropertyWithKey (value, index, key)
- insertValue_inPropertyWithKey (value, key)
- instanceMethodForSelector (aSelector) -> rawptr class method
- instanceMethodSignatureForSelector (aSelector) -> ^NS.MethodSignature class method
- instancesRespondToSelector (aSelector) -> bool class method
- inverseForRelationshipKey (relationshipKey) -> ^NS.String
- isCaseInsensitiveLike (object) -> bool
- isEqualTo (object) -> bool
- isGreaterThan (object) -> bool
- isGreaterThanOrEqualTo (object) -> bool
- isLessThan (object) -> bool
- isLessThanOrEqualTo (object) -> bool
- isLike (object) -> bool
- isNotEqualTo (object) -> bool
- isSubclassOfClass (aClass) -> bool class method
- keyPathsForValuesAffectingValueForKey (key) -> ^NS.Set class method
- load () class method
- methodForSelector (aSelector) -> rawptr
- methodSignatureForSelector (aSelector) -> ^NS.MethodSignature
- mutableArrayValueForKey (key) -> ^NS.MutableArray
- mutableArrayValueForKeyPath (keyPath) -> ^NS.MutableArray
- mutableCopy () -> intrinsics.objc_instancetype owned
- mutableCopyWithZone (zone) -> intrinsics.objc_instancetype class method owned
- mutableOrderedSetValueForKey (key) -> ^NS.MutableOrderedSet
- mutableOrderedSetValueForKeyPath (keyPath) -> ^NS.MutableOrderedSet
- mutableSetValueForKey (key) -> ^NS.MutableSet
- mutableSetValueForKeyPath (keyPath) -> ^NS.MutableSet
- new () -> intrinsics.objc_instancetype class method owned
- newScriptingObjectOfClass (objectClass, key, contentsValue, properties) -> ^intrinsics.objc_object owned
- objectSpecifier () -> ^NS.ScriptObjectSpecifier
- observationInfo () -> rawptr
- observeValueForKeyPath (keyPath, object, change, _context)
- performSelectorInBackground (aSelector, arg)
- performSelectorOnMainThread (…) overloaded
- performSelectorOnMainThread_withObject_waitUntilDone (aSelector, arg, wait)
- performSelectorOnMainThread_withObject_waitUntilDone_modes (aSelector, arg, wait, array)
- performSelector_onThread_withObject_waitUntilDone (aSelector, thr, arg, wait)
- performSelector_onThread_withObject_waitUntilDone_modes (aSelector, thr, arg, wait, array)
- performSelector_withObject_afterDelay (aSelector, anArgument, delay)
- performSelector_withObject_afterDelay_inModes (aSelector, anArgument, delay, modes)
- poseAsClass (aClass) class method
- removeObserver (…) overloaded
- removeObserver_forKeyPath (observer, keyPath)
- removeObserver_forKeyPath_context (observer, keyPath, _context)
- removeValueAtIndex (index, key)
- replaceValueAtIndex (index, key, value)
- replacementObjectForArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForCoder (coder) -> ^intrinsics.objc_object
- replacementObjectForKeyedArchiver (archiver) -> ^intrinsics.objc_object
- replacementObjectForPortCoder (coder) -> ^intrinsics.objc_object
- resolveClassMethod (sel) -> bool class method
- resolveInstanceMethod (sel) -> bool class method
- retainWeakReference () -> bool
- scriptingBeginsWith (object) -> bool
- scriptingContains (object) -> bool
- scriptingEndsWith (object) -> bool
- scriptingIsEqualTo (object) -> bool
- scriptingIsGreaterThan (object) -> bool
- scriptingIsGreaterThanOrEqualTo (object) -> bool
- scriptingIsLessThan (object) -> bool
- scriptingIsLessThanOrEqualTo (object) -> bool
- scriptingProperties () -> ^NS.Dictionary
- scriptingValueForSpecifier (objectSpecifier) -> ^intrinsics.objc_object
- setKeys (keys, dependentKey) class method
- setNilValueForKey (key)
- setObservationInfo (observationInfo)
- setScriptingProperties (scriptingProperties)
- setSharedObservers (sharedObservers)
- setValue_forKey (value, key)
- setValue_forKeyPath (value, keyPath)
- setValue_forUndefinedKey (value, key)
- setValuesForKeysWithDictionary (keyedValues)
- setVersion (aVersion) class method
- storedValueForKey (key) -> ^intrinsics.objc_object
- takeStoredValue (value, key)
- takeValue_forKey (value, key)
- takeValue_forKeyPath (value, keyPath)
- takeValuesFromDictionary (properties)
- toManyRelationshipKeys () -> ^NS.Array
- toOneRelationshipKeys () -> ^NS.Array
- unableToSetNilForKey (key)
- useStoredAccessor () -> bool class method
- validateValue_forKey (ioValue, inKey) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath (ioValue, inKeyPath) -> (ok: bool, err: ^NS.Error)
- validateValue_forKeyPath_error (ioValue, inKeyPath, outError) -> bool
- validateValue_forKey_error (ioValue, inKey, outError) -> bool
- valueAtIndex (index, key) -> ^intrinsics.objc_object
- valueForKey (key) -> ^intrinsics.objc_object
- valueForKeyPath (keyPath) -> ^intrinsics.objc_object
- valueForUndefinedKey (key) -> ^intrinsics.objc_object
- valueWithName (name, key) -> ^intrinsics.objc_object
- valueWithUniqueID (uniqueID, key) -> ^intrinsics.objc_object
- valuesForKeys (keys) -> ^NS.Dictionary
- version () -> NS.Integer class method
- willChange (changeKind, indexes, key)
- willChangeValueForKey (…) overloaded
- willChangeValueForKey_ (key)
- willChangeValueForKey_withSetMutation_usingObjects (key, mutationKind, objects)
ViewDelegate ¶
ViewDelegate :: struct { using _: intrinsics.objc_object, using _: NS.ObjectProtocol, }ViewDelegate :: struct { using _: intrinsics.objc_object, using _: NS.ObjectProtocol, } // Objective-C class MTKViewDelegate // Inherits NS.ObjectProtocol // 2 methods
Bound Objective-C Methods
- drawInMTKView(view)
- mtkView (view, size)
Methods Inherited From NS.ObjectProtocol
- autorelease () -> intrinsics.objc_instancetype
- class () -> ^intrinsics.objc_class
- conformsToProtocol (aProtocol) -> bool
- debugDescription () -> ^NS.String
- description () -> ^NS.String
- hash () -> NS.UInteger
- isEqual (object) -> bool
- isKindOfClass (aClass) -> bool
- isMemberOfClass (aClass) -> bool
- isProxy () -> bool
- performSelector (…) overloaded
- performSelector_ (aSelector) -> ^intrinsics.objc_object
- performSelector_withObject (aSelector, object) -> ^intrinsics.objc_object
- performSelector_withObject_withObject(aSelector, object1, object2) -> ^intrinsics.objc_object
- release ()
- respondsToSelector (aSelector) -> bool
- retain () -> intrinsics.objc_instancetype
- retainCount () -> NS.UInteger
- safeRelease () -> intrinsics.objc_instancetype
- self () -> intrinsics.objc_instancetype
- superclass () -> ^intrinsics.objc_class
- zone () -> ^NS._NSZone
id ¶
id :: ^intrinsics.objc_object
instancetype ¶
instancetype :: intrinsics.objc_instancetype
Constants
This section is empty.
Variables
ModelErrorDomain ¶
@(link_name="MTKModelErrorDomain") ModelErrorDomain: ^NS.String
ModelErrorKey ¶
@(link_name="MTKModelErrorKey") ModelErrorKey: ^NS.String
TextureLoaderCubeLayoutVertical ¶
@(link_name="MTKTextureLoaderCubeLayoutVertical") TextureLoaderCubeLayoutVertical: ^NS.String
TextureLoaderErrorDomain ¶
@(link_name="MTKTextureLoaderErrorDomain") TextureLoaderErrorDomain: ^NS.String
TextureLoaderErrorKey ¶
@(link_name="MTKTextureLoaderErrorKey") TextureLoaderErrorKey: ^NS.String
TextureLoaderOptionAllocateMipmaps ¶
@(link_name="MTKTextureLoaderOptionAllocateMipmaps") TextureLoaderOptionAllocateMipmaps: ^NS.String
TextureLoaderOptionCubeLayout ¶
@(link_name="MTKTextureLoaderOptionCubeLayout") TextureLoaderOptionCubeLayout: ^NS.String
TextureLoaderOptionGenerateMipmaps ¶
@(link_name="MTKTextureLoaderOptionGenerateMipmaps") TextureLoaderOptionGenerateMipmaps: ^NS.String
TextureLoaderOptionLoadAsArray ¶
@(link_name="MTKTextureLoaderOptionLoadAsArray") TextureLoaderOptionLoadAsArray: ^NS.String
TextureLoaderOptionOrigin ¶
@(link_name="MTKTextureLoaderOptionOrigin") TextureLoaderOptionOrigin: ^NS.String
TextureLoaderOptionSRGB ¶
@(link_name="MTKTextureLoaderOptionSRGB") TextureLoaderOptionSRGB: ^NS.String
TextureLoaderOptionTextureCPUCacheMode ¶
@(link_name="MTKTextureLoaderOptionTextureCPUCacheMode") TextureLoaderOptionTextureCPUCacheMode: ^NS.String
TextureLoaderOptionTextureStorageMode ¶
@(link_name="MTKTextureLoaderOptionTextureStorageMode") TextureLoaderOptionTextureStorageMode: ^NS.String
TextureLoaderOptionTextureUsage ¶
@(link_name="MTKTextureLoaderOptionTextureUsage") TextureLoaderOptionTextureUsage: ^NS.String
TextureLoaderOriginBottomLeft ¶
@(link_name="MTKTextureLoaderOriginBottomLeft") TextureLoaderOriginBottomLeft: ^NS.String
TextureLoaderOriginFlippedVertically ¶
@(link_name="MTKTextureLoaderOriginFlippedVertically") TextureLoaderOriginFlippedVertically: ^NS.String
TextureLoaderOriginTopLeft ¶
@(link_name="MTKTextureLoaderOriginTopLeft") TextureLoaderOriginTopLeft: ^NS.String
Procedures
MeshBufferAllocator_device ¶
@(objc_selector="device") MeshBufferAllocator_device :: proc "c" (self: ^MeshBufferAllocator) -> ^MTL.Device ---
device := meshBufferAllocator->device()
MeshBufferAllocator_init ¶
@(objc_selector="init") MeshBufferAllocator_init :: proc "c" (self: ^MeshBufferAllocator) -> intrinsics.objc_instancetype ---
res := meshBufferAllocator->init()
MeshBufferAllocator_initWithDevice ¶
@(objc_selector="initWithDevice:") MeshBufferAllocator_initWithDevice :: proc "c" ( self: ^MeshBufferAllocator, device: ^MTL.Device, ) -> intrinsics.objc_instancetype ---
res := meshBufferAllocator->initWithDevice(device)
MeshBuffer_allocator ¶
@(objc_selector="allocator") MeshBuffer_allocator :: proc "c" (self: ^MeshBuffer) -> ^MeshBufferAllocator ---
allocator := meshBuffer->allocator()
MeshBuffer_buffer ¶
@(objc_selector="buffer") MeshBuffer_buffer :: proc "c" (self: ^MeshBuffer) -> ^MTL.Buffer ---
buffer := meshBuffer->buffer()
MeshBuffer_init ¶
@(objc_selector="init") MeshBuffer_init :: proc "c" (self: ^MeshBuffer) -> intrinsics.objc_instancetype ---
res := meshBuffer->init()
MeshBuffer_length ¶
@(objc_selector="length") MeshBuffer_length :: proc "c" (self: ^MeshBuffer) -> NS.UInteger ---
length := meshBuffer->length()
MeshBuffer_offset ¶
@(objc_selector="offset") MeshBuffer_offset :: proc "c" (self: ^MeshBuffer) -> NS.UInteger ---
offset := meshBuffer->offset()
MeshBuffer_type ¶
@(objc_selector="type") MeshBuffer_type :: proc "c" (self: ^MeshBuffer) -> darwin_ModelIO.MeshBufferType ---
type := meshBuffer->type()
MeshBuffer_zone ¶
@(objc_selector="zone") MeshBuffer_zone :: proc "c" (self: ^MeshBuffer) -> ^darwin_ModelIO.MeshBufferZone ---
zone := meshBuffer->zone()
Mesh_init ¶
@(objc_selector="init") Mesh_init :: proc "c" (self: ^Mesh) -> intrinsics.objc_instancetype ---
res := mesh->init()
Mesh_initWithMesh_error ¶
@(objc_selector="initWithMesh:device:error:") Mesh_initWithMesh_error :: proc "c" ( self: ^Mesh, mesh: ^darwin_ModelIO.Mesh, device: ^MTL.Device, error: ^^NS.Error, ) -> intrinsics.objc_instancetype ---
res := mesh->initWithMesh_error(mesh, device, error)
Mesh_newMeshesFromAsset ¶ class method
Mesh_newMeshesFromAsset_error ¶ class method owned
Mesh_vertexBuffers ¶
@(objc_selector="vertexBuffers") Mesh_vertexBuffers :: proc "c" (self: ^Mesh) -> ^NS.Array ---
vertexBuffers := mesh->vertexBuffers()
Mesh_vertexCount ¶
@(objc_selector="vertexCount") Mesh_vertexCount :: proc "c" (self: ^Mesh) -> NS.UInteger ---
vertexCount := mesh->vertexCount()
Mesh_vertexDescriptor ¶
@(objc_selector="vertexDescriptor") Mesh_vertexDescriptor :: proc "c" (self: ^Mesh) -> ^darwin_ModelIO.VertexDescriptor ---
vertexDescriptor := mesh->vertexDescriptor()
MetalVertexDescriptorFromModelIO ¶
@(link_name="MTKMetalVertexDescriptorFromModelIO") MetalVertexDescriptorFromModelIO :: proc "c" (modelIODescriptor: ^darwin_ModelIO.VertexDescriptor) -> ^MTL.VertexDescriptor ---
MetalVertexDescriptorFromModelIOWithError ¶
@(link_name="MTKMetalVertexDescriptorFromModelIOWithError") MetalVertexDescriptorFromModelIOWithError :: proc "c" ( modelIODescriptor: ^darwin_ModelIO.VertexDescriptor, error: ^^NS.Error, ) -> ^MTL.VertexDescriptor ---
MetalVertexFormatFromModelIO ¶
@(link_name="MTKMetalVertexFormatFromModelIO") MetalVertexFormatFromModelIO :: proc "c" (vertexFormat: darwin_ModelIO.VertexFormat) -> MTL.VertexFormat ---
ModelIOVertexDescriptorFromMetal ¶
@(link_name="MTKModelIOVertexDescriptorFromMetal") ModelIOVertexDescriptorFromMetal :: proc "c" (metalDescriptor: ^MTL.VertexDescriptor) -> ^darwin_ModelIO.VertexDescriptor ---
ModelIOVertexDescriptorFromMetalWithError ¶
@(link_name="MTKModelIOVertexDescriptorFromMetalWithError") ModelIOVertexDescriptorFromMetalWithError :: proc "c" ( metalDescriptor: ^MTL.VertexDescriptor, error: ^^NS.Error, ) -> ^darwin_ModelIO.VertexDescriptor ---
ModelIOVertexFormatFromMetal ¶
@(link_name="MTKModelIOVertexFormatFromMetal") ModelIOVertexFormatFromMetal :: proc "c" (vertexFormat: MTL.VertexFormat) -> darwin_ModelIO.VertexFormat ---
Submesh_indexBuffer ¶
@(objc_selector="indexBuffer") Submesh_indexBuffer :: proc "c" (self: ^Submesh) -> ^MeshBuffer ---
indexBuffer := submesh->indexBuffer()
Submesh_indexCount ¶
@(objc_selector="indexCount") Submesh_indexCount :: proc "c" (self: ^Submesh) -> NS.UInteger ---
indexCount := submesh->indexCount()
Submesh_init ¶
@(objc_selector="init") Submesh_init :: proc "c" (self: ^Submesh) -> intrinsics.objc_instancetype ---
res := submesh->init()
Submesh_primitiveType ¶
@(objc_selector="primitiveType") Submesh_primitiveType :: proc "c" (self: ^Submesh) -> MTL.PrimitiveType ---
primitiveType := submesh->primitiveType()
TextureLoader_device ¶
@(objc_selector="device") TextureLoader_device :: proc "c" (self: ^TextureLoader) -> ^MTL.Device ---
device := textureLoader->device()
TextureLoader_init ¶
@(objc_selector="init") TextureLoader_init :: proc "c" (self: ^TextureLoader) -> intrinsics.objc_instancetype ---
res := textureLoader->init()
TextureLoader_initWithDevice ¶
@(objc_selector="initWithDevice:") TextureLoader_initWithDevice :: proc "c" ( self: ^TextureLoader, device: ^MTL.Device, ) -> intrinsics.objc_instancetype ---
res := textureLoader->initWithDevice(device)
TextureLoader_newTextureWithCGImage_options ¶
TextureLoader_newTextureWithCGImage_options :: proc "c" ( self: ^TextureLoader, cgImage: darwin_CoreGraphics.ImageRef, options: ^NS.Dictionary, ) -> (res: ^MTL.Texture, err: ^NS.Error) {…}
res, err := textureLoader->newTextureWithCGImage_options(cgImage, options)
TextureLoader_newTextureWithCGImage_options_completionHandler ¶
@(objc_selector="newTextureWithCGImage:options:completionHandler:") TextureLoader_newTextureWithCGImage_options_completionHandler :: proc "c" ( self: ^TextureLoader, cgImage: darwin_CoreGraphics.ImageRef, options: ^NS.Dictionary, completionHandler: ^runtime.Objc_Block($T=proc "cdecl" (^Texture, ^Error)), ) ---
textureLoader->newTextureWithCGImage_options_completionHandler(cgImage, options, completionHandler)
TextureLoader_newTextureWithCGImage_options_error ¶ owned
@(objc_selector="newTextureWithCGImage:options:error:") TextureLoader_newTextureWithCGImage_options_error :: proc "c" ( self: ^TextureLoader, cgImage: darwin_CoreGraphics.ImageRef, options: ^NS.Dictionary, error: ^^NS.Error, ) -> ^MTL.Texture ---
texture := textureLoader->newTextureWithCGImage_options_error(cgImage, options, error)
TextureLoader_newTextureWithContentsOfURL_options ¶
TextureLoader_newTextureWithContentsOfURL_options :: proc "c" ( self: ^TextureLoader, _URL: ^NS.URL, options: ^NS.Dictionary, ) -> (res: ^MTL.Texture, err: ^NS.Error) {…}
res, err := textureLoader->newTextureWithContentsOfURL_options(_URL, options)
TextureLoader_newTextureWithContentsOfURL_options_completionHandler ¶
@(objc_selector="newTextureWithContentsOfURL:options:completionHandler:") TextureLoader_newTextureWithContentsOfURL_options_completionHandler :: proc "c" ( self: ^TextureLoader, _URL: ^NS.URL, options: ^NS.Dictionary, completionHandler: ^runtime.Objc_Block($T=proc "cdecl" (^Texture, ^Error)), ) ---
textureLoader->newTextureWithContentsOfURL_options_completionHandler( _URL, options, completionHandler, )
TextureLoader_newTextureWithContentsOfURL_options_error ¶ owned
@(objc_selector="newTextureWithContentsOfURL:options:error:") TextureLoader_newTextureWithContentsOfURL_options_error :: proc "c" ( self: ^TextureLoader, _URL: ^NS.URL, options: ^NS.Dictionary, error: ^^NS.Error, ) -> ^MTL.Texture ---
texture := textureLoader->newTextureWithContentsOfURL_options_error(_URL, options, error)
TextureLoader_newTextureWithData_options ¶
TextureLoader_newTextureWithData_options :: proc "c" ( self: ^TextureLoader, data: ^NS.Data, options: ^NS.Dictionary, ) -> (res: ^MTL.Texture, err: ^NS.Error) {…}
res, err := textureLoader->newTextureWithData_options(data, options)
TextureLoader_newTextureWithData_options_completionHandler ¶
@(objc_selector="newTextureWithData:options:completionHandler:") TextureLoader_newTextureWithData_options_completionHandler :: proc "c" ( self: ^TextureLoader, data: ^NS.Data, options: ^NS.Dictionary, completionHandler: ^runtime.Objc_Block($T=proc "cdecl" (^Texture, ^Error)), ) ---
textureLoader->newTextureWithData_options_completionHandler(data, options, completionHandler)
TextureLoader_newTextureWithData_options_error ¶ owned
@(objc_selector="newTextureWithData:options:error:") TextureLoader_newTextureWithData_options_error :: proc "c" ( self: ^TextureLoader, data: ^NS.Data, options: ^NS.Dictionary, error: ^^NS.Error, ) -> ^MTL.Texture ---
texture := textureLoader->newTextureWithData_options_error(data, options, error)
TextureLoader_newTextureWithMDLTexture_options ¶
TextureLoader_newTextureWithMDLTexture_options :: proc "c" ( self: ^TextureLoader, texture: ^darwin_ModelIO.Texture, options: ^NS.Dictionary, ) -> (res: ^MTL.Texture, err: ^NS.Error) {…}
res, err := textureLoader->newTextureWithMDLTexture_options(texture, options)
TextureLoader_newTextureWithMDLTexture_options_completionHandler ¶
@(objc_selector="newTextureWithMDLTexture:options:completionHandler:") TextureLoader_newTextureWithMDLTexture_options_completionHandler :: proc "c" ( self: ^TextureLoader, texture: ^darwin_ModelIO.Texture, options: ^NS.Dictionary, completionHandler: ^runtime.Objc_Block($T=proc "cdecl" (^Texture, ^Error)), ) ---
textureLoader->newTextureWithMDLTexture_options_completionHandler( texture, options, completionHandler, )
TextureLoader_newTextureWithMDLTexture_options_error ¶ owned
@(objc_selector="newTextureWithMDLTexture:options:error:") TextureLoader_newTextureWithMDLTexture_options_error :: proc "c" ( self: ^TextureLoader, texture: ^darwin_ModelIO.Texture, options: ^NS.Dictionary, error: ^^NS.Error, ) -> ^MTL.Texture ---
res := textureLoader->newTextureWithMDLTexture_options_error(texture, options, error)
TextureLoader_newTextureWithName_scaleFactor_bundle_options ¶
TextureLoader_newTextureWithName_scaleFactor_bundle_options :: proc "c" ( self: ^TextureLoader, name: ^NS.String, scaleFactor: f64, bundle: ^NS.Bundle, options: ^NS.Dictionary, ) -> (res: ^MTL.Texture, err: ^NS.Error) {…}
res, err := textureLoader->newTextureWithName_scaleFactor_bundle_options( name, scaleFactor, bundle, options, )
TextureLoader_newTextureWithName_scaleFactor_bundle_options_completionHandler ¶
@(objc_selector="newTextureWithName:scaleFactor:bundle:options:completionHandler:") TextureLoader_newTextureWithName_scaleFactor_bundle_options_completionHandler :: proc "c" ( self: ^TextureLoader, name: ^NS.String, scaleFactor: f64, bundle: ^NS.Bundle, options: ^NS.Dictionary, completionHandler: ^runtime.Objc_Block($T=proc "cdecl" (^Texture, ^Error)), ) ---
textureLoader->newTextureWithName_scaleFactor_bundle_options_completionHandler( name, scaleFactor, bundle, options, completionHandler, )
TextureLoader_newTextureWithName_scaleFactor_bundle_options_error ¶ owned
@(objc_selector="newTextureWithName:scaleFactor:bundle:options:error:") TextureLoader_newTextureWithName_scaleFactor_bundle_options_error :: proc "c" ( self: ^TextureLoader, name: ^NS.String, scaleFactor: f64, bundle: ^NS.Bundle, options: ^NS.Dictionary, error: ^^NS.Error, ) -> ^MTL.Texture ---
texture := textureLoader->newTextureWithName_scaleFactor_bundle_options_error( name, scaleFactor, bundle, options, error, )
TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options ¶
TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options :: proc "c" ( self: ^TextureLoader, name: ^NS.String, scaleFactor: f64, displayGamut: darwin_AppKit.DisplayGamut, bundle: ^NS.Bundle, options: ^NS.Dictionary, ) -> (res: ^MTL.Texture, err: ^NS.Error) {…}
res, err := textureLoader->newTextureWithName_scaleFactor_displayGamut_bundle_options( name, scaleFactor, displayGamut, bundle, options, )
TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options_completionHandler ¶
@(objc_selector="newTextureWithName:scaleFactor:displayGamut:bundle:options:completionHandler:") TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options_completionHandler :: proc "c" ( self: ^TextureLoader, name: ^NS.String, scaleFactor: f64, displayGamut: darwin_AppKit.DisplayGamut, bundle: ^NS.Bundle, options: ^NS.Dictionary, completionHandler: ^runtime.Objc_Block($T=proc "cdecl" (^Texture, ^Error)), ) ---
textureLoader->newTextureWithName_scaleFactor_displayGamut_bundle_options_completionHandler( name, scaleFactor, displayGamut, bundle, options, completionHandler, )
TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options_error ¶ owned
@(objc_selector="newTextureWithName:scaleFactor:displayGamut:bundle:options:error:") TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options_error :: proc "c" ( self: ^TextureLoader, name: ^NS.String, scaleFactor: f64, displayGamut: darwin_AppKit.DisplayGamut, bundle: ^NS.Bundle, options: ^NS.Dictionary, error: ^^NS.Error, ) -> ^MTL.Texture ---
texture := textureLoader->newTextureWithName_scaleFactor_displayGamut_bundle_options_error( name, scaleFactor, displayGamut, bundle, options, error, )
TextureLoader_newTexturesWithContentsOfURLs_options ¶
TextureLoader_newTexturesWithContentsOfURLs_options :: proc "c" ( self: ^TextureLoader, URLs: ^NS.Array, options: ^NS.Dictionary, ) -> (res: ^NS.Array, err: ^NS.Error) {…}
res, err := textureLoader->newTexturesWithContentsOfURLs_options(URLs, options)
TextureLoader_newTexturesWithContentsOfURLs_options_completionHandler ¶
@(objc_selector="newTexturesWithContentsOfURLs:options:completionHandler:") TextureLoader_newTexturesWithContentsOfURLs_options_completionHandler :: proc "c" ( self: ^TextureLoader, URLs: ^NS.Array, options: ^NS.Dictionary, completionHandler: ^runtime.Objc_Block($T=proc "cdecl" (^Array, ^Error)), ) ---
textureLoader->newTexturesWithContentsOfURLs_options_completionHandler( URLs, options, completionHandler, )
TextureLoader_newTexturesWithContentsOfURLs_options_error ¶ owned
@(objc_selector="newTexturesWithContentsOfURLs:options:error:") TextureLoader_newTexturesWithContentsOfURLs_options_error :: proc "c" ( self: ^TextureLoader, URLs: ^NS.Array, options: ^NS.Dictionary, error: ^^NS.Error, ) -> ^NS.Array ---
array := textureLoader->newTexturesWithContentsOfURLs_options_error(URLs, options, error)
TextureLoader_newTexturesWithNames_scaleFactor_bundle_options_completionHandler ¶
@(objc_selector="newTexturesWithNames:scaleFactor:bundle:options:completionHandler:") TextureLoader_newTexturesWithNames_scaleFactor_bundle_options_completionHandler :: proc "c" ( self: ^TextureLoader, names: ^NS.Array, scaleFactor: f64, bundle: ^NS.Bundle, options: ^NS.Dictionary, completionHandler: ^runtime.Objc_Block($T=proc "cdecl" (^Array, ^Error)), ) ---
textureLoader->newTexturesWithNames_scaleFactor_bundle_options_completionHandler( names, scaleFactor, bundle, options, completionHandler, )
TextureLoader_newTexturesWithNames_scaleFactor_displayGamut_bundle_options_completionHandler ¶
@(objc_selector="newTexturesWithNames:scaleFactor:displayGamut:bundle:options:completionHandler:") TextureLoader_newTexturesWithNames_scaleFactor_displayGamut_bundle_options_completionHandler :: proc "c" ( self: ^TextureLoader, names: ^NS.Array, scaleFactor: f64, displayGamut: darwin_AppKit.DisplayGamut, bundle: ^NS.Bundle, options: ^NS.Dictionary, completionHandler: ^runtime.Objc_Block($T=proc "cdecl" (^Array, ^Error)), ) ---
textureLoader->newTexturesWithNames_scaleFactor_displayGamut_bundle_options_completionHandler( names, scaleFactor, displayGamut, bundle, options, completionHandler, )
ViewDelegate_drawInMTKView ¶
@(objc_selector="drawInMTKView:") ViewDelegate_drawInMTKView :: proc "c" (self: ^ViewDelegate, view: ^View) ---
viewDelegate->drawInMTKView(view)
ViewDelegate_mtkView ¶
@(objc_selector="mtkView:drawableSizeWillChange:") ViewDelegate_mtkView :: proc "c" ( self: ^ViewDelegate, view: ^View, size: darwin_CoreGraphics.Size, ) ---
viewDelegate->mtkView(view, size)
View_autoResizeDrawable ¶
@(objc_selector="autoResizeDrawable") View_autoResizeDrawable :: proc "c" (self: ^View) -> bool ---
autoResizeDrawable := view->autoResizeDrawable()
View_clearColor ¶
@(objc_selector="clearColor") View_clearColor :: proc "c" (self: ^View) -> MTL.ClearColor ---
clearColor := view->clearColor()
View_clearDepth ¶
@(objc_selector="clearDepth") View_clearDepth :: proc "c" (self: ^View) -> f64 ---
clearDepth := view->clearDepth()
View_clearStencil ¶
@(objc_selector="clearStencil") View_clearStencil :: proc "c" (self: ^View) -> u32 ---
clearStencil := view->clearStencil()
View_colorPixelFormat ¶
@(objc_selector="colorPixelFormat") View_colorPixelFormat :: proc "c" (self: ^View) -> MTL.PixelFormat ---
colorPixelFormat := view->colorPixelFormat()
View_colorspace ¶
@(objc_selector="colorspace") View_colorspace :: proc "c" (self: ^View) -> darwin_CoreGraphics.ColorSpaceRef ---
colorspace := view->colorspace()
View_currentDrawable ¶
@(objc_selector="currentDrawable") View_currentDrawable :: proc "c" (self: ^View) -> ^CA.MetalDrawable ---
currentDrawable := view->currentDrawable()
View_currentMTL4RenderPassDescriptor ¶
@(objc_selector="currentMTL4RenderPassDescriptor") View_currentMTL4RenderPassDescriptor :: proc "c" (self: ^View) -> ^MTL.MTL4RenderPassDescriptor ---
currentMTL4RenderPassDescriptor := view->currentMTL4RenderPassDescriptor()
View_currentRenderPassDescriptor ¶
@(objc_selector="currentRenderPassDescriptor") View_currentRenderPassDescriptor :: proc "c" (self: ^View) -> ^MTL.RenderPassDescriptor ---
currentRenderPassDescriptor := view->currentRenderPassDescriptor()
View_delegate ¶
@(objc_selector="delegate") View_delegate :: proc "c" (self: ^View) -> ^ViewDelegate ---
delegate := view->delegate()
View_depthStencilAttachmentTextureUsage ¶
@(objc_selector="depthStencilAttachmentTextureUsage") View_depthStencilAttachmentTextureUsage :: proc "c" (self: ^View) -> bit_set[MTL.TextureUsageFlag; u64] ---
depthStencilAttachmentTextureUsage := view->depthStencilAttachmentTextureUsage()
View_depthStencilPixelFormat ¶
@(objc_selector="depthStencilPixelFormat") View_depthStencilPixelFormat :: proc "c" (self: ^View) -> MTL.PixelFormat ---
depthStencilPixelFormat := view->depthStencilPixelFormat()
View_depthStencilStorageMode ¶
@(objc_selector="depthStencilStorageMode") View_depthStencilStorageMode :: proc "c" (self: ^View) -> MTL.StorageMode ---
depthStencilStorageMode := view->depthStencilStorageMode()
View_depthStencilTexture ¶
@(objc_selector="depthStencilTexture") View_depthStencilTexture :: proc "c" (self: ^View) -> ^MTL.Texture ---
depthStencilTexture := view->depthStencilTexture()
View_drawableSize ¶
@(objc_selector="drawableSize") View_drawableSize :: proc "c" (self: ^View) -> darwin_CoreGraphics.Size ---
drawableSize := view->drawableSize()
View_enableSetNeedsDisplay ¶
@(objc_selector="enableSetNeedsDisplay") View_enableSetNeedsDisplay :: proc "c" (self: ^View) -> bool ---
enableSetNeedsDisplay := view->enableSetNeedsDisplay()
View_framebufferOnly ¶
@(objc_selector="framebufferOnly") View_framebufferOnly :: proc "c" (self: ^View) -> bool ---
framebufferOnly := view->framebufferOnly()
View_initWithCoder ¶
@(objc_selector="initWithCoder:") View_initWithCoder :: proc "c" (self: ^View, coder: ^NS.Coder) -> intrinsics.objc_instancetype ---
res := view->initWithCoder(coder)
View_initWithFrame ¶
@(objc_selector="initWithFrame:device:") View_initWithFrame :: proc "c" ( self: ^View, frameRect: darwin_CoreGraphics.Rect, device: ^MTL.Device, ) -> intrinsics.objc_instancetype ---
res := view->initWithFrame(frameRect, device)
View_multisampleColorAttachmentTextureUsage ¶
@(objc_selector="multisampleColorAttachmentTextureUsage") View_multisampleColorAttachmentTextureUsage :: proc "c" (self: ^View) -> bit_set[MTL.TextureUsageFlag; u64] ---
multisampleColorAttachmentTextureUsage := view->multisampleColorAttachmentTextureUsage()
View_multisampleColorTexture ¶
@(objc_selector="multisampleColorTexture") View_multisampleColorTexture :: proc "c" (self: ^View) -> ^MTL.Texture ---
multisampleColorTexture := view->multisampleColorTexture()
View_odinDelegate ¶
View_odinDelegate :: proc "c" (self: ^View) -> ^OdinViewDelegate {…}
odinDelegate := view->odinDelegate()
Returns the delegate set with setOdinDelegate, or nil if the view's delegate is something else.
View_preferredDevice ¶
@(objc_selector="preferredDevice") View_preferredDevice :: proc "c" (self: ^View) -> ^MTL.Device ---
preferredDevice := view->preferredDevice()
View_preferredDrawableSize ¶
@(objc_selector="preferredDrawableSize") View_preferredDrawableSize :: proc "c" (self: ^View) -> darwin_CoreGraphics.Size ---
preferredDrawableSize := view->preferredDrawableSize()
View_preferredFramesPerSecond ¶
@(objc_selector="preferredFramesPerSecond") View_preferredFramesPerSecond :: proc "c" (self: ^View) -> NS.Integer ---
preferredFramesPerSecond := view->preferredFramesPerSecond()
View_presentsWithTransaction ¶
@(objc_selector="presentsWithTransaction") View_presentsWithTransaction :: proc "c" (self: ^View) -> bool ---
presentsWithTransaction := view->presentsWithTransaction()
View_releaseDrawables ¶
@(objc_selector="releaseDrawables") View_releaseDrawables :: proc "c" (self: ^View) ---
view->releaseDrawables()
View_residencySet ¶
@(objc_selector="residencySet") View_residencySet :: proc "c" (self: ^View) -> ^MTL.ResidencySet ---
residencySet := view->residencySet()
View_sampleCount ¶
@(objc_selector="sampleCount") View_sampleCount :: proc "c" (self: ^View) -> NS.UInteger ---
sampleCount := view->sampleCount()
View_setAutoResizeDrawable ¶
@(objc_selector="setAutoResizeDrawable:") View_setAutoResizeDrawable :: proc "c" (self: ^View, autoResizeDrawable: bool) ---
view->setAutoResizeDrawable(autoResizeDrawable)
View_setClearColor ¶
@(objc_selector="setClearColor:") View_setClearColor :: proc "c" (self: ^View, clearColor: MTL.ClearColor) ---
view->setClearColor(clearColor)
View_setClearDepth ¶
@(objc_selector="setClearDepth:") View_setClearDepth :: proc "c" (self: ^View, clearDepth: f64) ---
view->setClearDepth(clearDepth)
View_setClearStencil ¶
@(objc_selector="setClearStencil:") View_setClearStencil :: proc "c" (self: ^View, clearStencil: u32) ---
view->setClearStencil(clearStencil)
View_setColorPixelFormat ¶
@(objc_selector="setColorPixelFormat:") View_setColorPixelFormat :: proc "c" (self: ^View, colorPixelFormat: MTL.PixelFormat) ---
view->setColorPixelFormat(colorPixelFormat)
View_setColorspace ¶
@(objc_selector="setColorspace:") View_setColorspace :: proc "c" (self: ^View, colorspace: darwin_CoreGraphics.ColorSpaceRef) ---
view->setColorspace(colorspace)
View_setDelegate ¶
@(objc_selector="setDelegate:") View_setDelegate :: proc "c" (self: ^View, delegate: ^ViewDelegate) ---
view->setDelegate(delegate)
View_setDepthStencilAttachmentTextureUsage ¶
@(objc_selector="setDepthStencilAttachmentTextureUsage:") View_setDepthStencilAttachmentTextureUsage :: proc "c" ( self: ^View, depthStencilAttachmentTextureUsage: bit_set[MTL.TextureUsageFlag; u64], ) ---
view->setDepthStencilAttachmentTextureUsage(depthStencilAttachmentTextureUsage)
View_setDepthStencilPixelFormat ¶
@(objc_selector="setDepthStencilPixelFormat:") View_setDepthStencilPixelFormat :: proc "c" ( self: ^View, depthStencilPixelFormat: MTL.PixelFormat, ) ---
view->setDepthStencilPixelFormat(depthStencilPixelFormat)
View_setDepthStencilStorageMode ¶
@(objc_selector="setDepthStencilStorageMode:") View_setDepthStencilStorageMode :: proc "c" ( self: ^View, depthStencilStorageMode: MTL.StorageMode, ) ---
view->setDepthStencilStorageMode(depthStencilStorageMode)
View_setDrawableSize ¶
@(objc_selector="setDrawableSize:") View_setDrawableSize :: proc "c" (self: ^View, drawableSize: darwin_CoreGraphics.Size) ---
view->setDrawableSize(drawableSize)
View_setEnableSetNeedsDisplay ¶
@(objc_selector="setEnableSetNeedsDisplay:") View_setEnableSetNeedsDisplay :: proc "c" (self: ^View, enableSetNeedsDisplay: bool) ---
view->setEnableSetNeedsDisplay(enableSetNeedsDisplay)
View_setFramebufferOnly ¶
@(objc_selector="setFramebufferOnly:") View_setFramebufferOnly :: proc "c" (self: ^View, framebufferOnly: bool) ---
view->setFramebufferOnly(framebufferOnly)
View_setMultisampleColorAttachmentTextureUsage ¶
@(objc_selector="setMultisampleColorAttachmentTextureUsage:") View_setMultisampleColorAttachmentTextureUsage :: proc "c" ( self: ^View, multisampleColorAttachmentTextureUsage: bit_set[MTL.TextureUsageFlag; u64], ) ---
view->setMultisampleColorAttachmentTextureUsage(multisampleColorAttachmentTextureUsage)
View_setOdinDelegate ¶
View_setOdinDelegate :: proc "c" (self: ^View, delegate: ^OdinViewDelegate) {…}
view->setOdinDelegate(delegate)
Makes delegate drive the view through an MTKViewDelegate object which the view keeps alive.
delegate itself is not copied, so it must stay valid while it is set.
View_setPreferredFramesPerSecond ¶
@(objc_selector="setPreferredFramesPerSecond:") View_setPreferredFramesPerSecond :: proc "c" ( self: ^View, preferredFramesPerSecond: NS.Integer, ) ---
view->setPreferredFramesPerSecond(preferredFramesPerSecond)
View_setPresentsWithTransaction ¶
@(objc_selector="setPresentsWithTransaction:") View_setPresentsWithTransaction :: proc "c" (self: ^View, presentsWithTransaction: bool) ---
view->setPresentsWithTransaction(presentsWithTransaction)
View_setSampleCount ¶
@(objc_selector="setSampleCount:") View_setSampleCount :: proc "c" (self: ^View, sampleCount: NS.UInteger) ---
view->setSampleCount(sampleCount)
Procedure Groups
TextureLoader_newTextureWithCGImage ¶ overloaded
TextureLoader_newTextureWithCGImage :: proc{ TextureLoader_newTextureWithCGImage_options_completionHandler, TextureLoader_newTextureWithCGImage_options, }
textureLoader->newTextureWithCGImage(cgImage, options, completionHandler) res, err := textureLoader->newTextureWithCGImage(cgImage, options)
TextureLoader_newTextureWithContentsOfURL ¶ overloaded
TextureLoader_newTextureWithContentsOfURL :: proc{ TextureLoader_newTextureWithContentsOfURL_options_completionHandler, TextureLoader_newTextureWithContentsOfURL_options, }
textureLoader->newTextureWithContentsOfURL(_URL, options, completionHandler) res, err := textureLoader->newTextureWithContentsOfURL(_URL, options)
TextureLoader_newTextureWithData ¶ overloaded
TextureLoader_newTextureWithData :: proc{ TextureLoader_newTextureWithData_options_completionHandler, TextureLoader_newTextureWithData_options, }
textureLoader->newTextureWithData(data, options, completionHandler) res, err := textureLoader->newTextureWithData(data, options)
TextureLoader_newTextureWithMDLTexture ¶ overloaded
TextureLoader_newTextureWithMDLTexture :: proc{ TextureLoader_newTextureWithMDLTexture_options_completionHandler, TextureLoader_newTextureWithMDLTexture_options, }
textureLoader->newTextureWithMDLTexture(texture, options, completionHandler) res, err := textureLoader->newTextureWithMDLTexture(texture, options)
TextureLoader_newTextureWithName ¶ overloaded
TextureLoader_newTextureWithName :: proc{ TextureLoader_newTextureWithName_scaleFactor_bundle_options_completionHandler, TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options_completionHandler, TextureLoader_newTextureWithName_scaleFactor_bundle_options, TextureLoader_newTextureWithName_scaleFactor_displayGamut_bundle_options, }
textureLoader->newTextureWithName(name, scaleFactor, bundle, options, completionHandler) textureLoader->newTextureWithName( name, scaleFactor, displayGamut, bundle, options, completionHandler, ) res, err := textureLoader->newTextureWithName(name, scaleFactor, bundle, options) res, err := textureLoader->newTextureWithName(name, scaleFactor, displayGamut, bundle, options)
TextureLoader_newTexturesWithContentsOfURLs ¶ overloaded
TextureLoader_newTexturesWithContentsOfURLs :: proc{ TextureLoader_newTexturesWithContentsOfURLs_options_completionHandler, TextureLoader_newTexturesWithContentsOfURLs_options, }
textureLoader->newTexturesWithContentsOfURLs(URLs, options, completionHandler) res, err := textureLoader->newTexturesWithContentsOfURLs(URLs, options)
TextureLoader_newTexturesWithNames ¶ overloaded
TextureLoader_newTexturesWithNames :: proc{ TextureLoader_newTexturesWithNames_scaleFactor_bundle_options_completionHandler, TextureLoader_newTexturesWithNames_scaleFactor_displayGamut_bundle_options_completionHandler, }
textureLoader->newTexturesWithNames(names, scaleFactor, bundle, options, completionHandler) textureLoader->newTexturesWithNames( names, scaleFactor, displayGamut, bundle, options, completionHandler, )
Source Files
- MTKMesh.odin
- MTKSubmesh.odin
- MTKTextureLoader.odin
- MTKView.odin
- MetalKit.odin
- MetalKit_extras.odin
- MetalKit_macos.odin
Generation Information
Generated with odin version dev-2026-12 (vendor "odin") Windows_amd64 @ 2026-12-03 21:06:39.177575100 +0000 UTC