package vendor:darwin/MetalKit
⌘K
Ctrl+K
or
/
Overview
Bindings for MetalKit.
Index
Types (3)
Constants (0)
This section is empty.
Variables (0)
This section is empty.
Procedures (47)
- View_alloc
- View_autoresizeDrawable
- View_autoresizeDrawable
- View_clearColor
- View_clearDepth
- View_clearStencil
- View_colorPixelFormat
- View_currentDrawable
- View_currentRenderPassDescriptor
- View_depthStencilAttachmentTextureUsage
- View_depthStencilPixelFormat
- View_depthStencilTexture
- View_device
- View_draw
- View_enableSetNeedsDisplay
- View_framebufferOnly
- View_initWithCoder
- View_initWithFrame
- View_initWithFrame
- View_isPaused
- View_multisampleColorAttachmentTextureUsage
- View_preferredDevice
- View_preferredDrawableSize
- View_releaseDrawables
- View_sampleCount
- View_sampleCount
- View_sampleCount
- View_setAutoresizeDrawable
- View_setClearColor
- View_setClearStencil
- View_setClearStencil
- View_setClearStencil
- View_setDelegate
- View_setDepthStencilAttachmentTextureUsage
- View_setDepthStencilAttachmentTextureUsage
- View_setDepthStencilAttachmentTextureUsage
- View_setDepthStencilPixelFormat
- View_setDevice
- View_setDevice
- View_setDrawableSize
- View_setEnableSetNeedsDisplay
- View_setFramebufferOnly
- View_setMultisampleColorAttachmentTextureUsage
- View_setMultisampleColorAttachmentTextureUsage
- View_setPaused
- View_setPreferredFramesPerSecond
- View_setPresentsWithTransaction
Procedure Groups (0)
This section is empty.
Types
View ¶
View :: struct { using _: objc_Foundation.View, }
Bound Objective-C Methods
- alloc (class method)
- autoresizeDrawable
- clearColor
- clearDepth
- clearStencil
- colorPixelFormat
- colorSpace
- currentDrawable
- currentRenderPassDescriptor
- delegate
- depthStencilAttachmentTextureUsage
- depthStencilPixelFormat
- depthStencilTexture
- device
- draw
- drawableSize
- enableSetNeedsDisplay
- framebufferOnly
- initWithCoder
- initWithFrame
- isPaused
- multisampleColorAttachmentTextureUsage
- multisampleColorTexture
- preferredDevice
- preferredDrawableSize
- preferredFramesPerSecond
- presentsWithTransaction
- releaseDrawables
- sampleCount
- setAutoresizeDrawable
- setClearColor
- setClearDepth
- setClearStencil
- setColorPixelFormat
- setColorSpace
- setDelegate
- setDepthStencilAttachmentTextureUsage
- setDepthStencilPixelFormat
- setDevice
- setDrawableSize
- setEnableSetNeedsDisplay
- setFramebufferOnly
- setMultisampleColorAttachmentTextureUsage
- setPaused
- setPreferredFramesPerSecond
- setPresentsWithTransaction
- setSampleCount
Methods Inherited From Object
ViewDelegate ¶
ViewDelegate :: struct { drawInMTKView: proc "c" (self: ^ViewDelegate, view: ^View), drawableSizeWillChange: proc "c" (self: ^ViewDelegate, view: ^View, size: CoreFoundation.CGSize), user_data: rawptr, }
Related Procedures With Parameters
Related Procedures With Returns
View_clearStencil ¶
View_clearStencil :: ColorSpaceRef
Related Procedures With Parameters
Related Procedures With Returns
Constants
This section is empty.
Variables
This section is empty.
Procedures
View_autoresizeDrawable ¶
View_autoresizeDrawable :: proc "c" ( self: ^View, ) -> bool {…}
Objective-C Method Information
- Class: View
- Name: autoresizeDrawable
Syntax Usage
res := self->autoresizeDrawable()
View_autoresizeDrawable ¶
View_autoresizeDrawable :: View_setColorSpace
View_clearColor ¶
View_clearColor :: proc "c" ( self: ^View, ) -> objc_Metal.ClearColor {…}
Objective-C Method Information
- Class: View
- Name: clearColor
Syntax Usage
res := self->clearColor()
View_clearDepth ¶
View_clearDepth :: proc "c" ( self: ^View, ) -> f64 {…}
Objective-C Method Information
- Class: View
- Name: clearDepth
Syntax Usage
res := self->clearDepth()
View_clearStencil ¶
View_clearStencil :: View_presentsWithTransaction
View_colorPixelFormat ¶
View_colorPixelFormat :: View_setDelegate
View_currentDrawable ¶
View_currentDrawable :: proc "c" ( self: ^View, ) -> ^objc_QuartzCore.MetalDrawable {…}
Objective-C Method Information
- Class: View
- Name: currentDrawable
Syntax Usage
res := self->currentDrawable()
View_currentRenderPassDescriptor ¶
View_currentRenderPassDescriptor :: proc "c" ( self: ^View, ) -> ^objc_Metal.RenderPassDescriptor {…}
Objective-C Method Information
- Class: View
- Name: currentRenderPassDescriptor
Syntax Usage
res := self->currentRenderPassDescriptor()
View_depthStencilAttachmentTextureUsage ¶
View_depthStencilAttachmentTextureUsage :: proc "c" ( self: ^View, ) -> objc_Metal.TextureUsage {…}
Objective-C Method Information
- Class: View
- Name: depthStencilAttachmentTextureUsage
Syntax Usage
res := self->depthStencilAttachmentTextureUsage()
View_depthStencilPixelFormat ¶
View_depthStencilPixelFormat :: proc "c" ( self: ^View, ) -> objc_Metal.PixelFormat {…}
Objective-C Method Information
- Class: View
- Name: depthStencilPixelFormat
Syntax Usage
res := self->depthStencilPixelFormat()
View_depthStencilTexture ¶
View_depthStencilTexture :: proc "c" ( self: ^View, ) -> ^objc_Metal.Texture {…}
Objective-C Method Information
- Class: View
- Name: depthStencilTexture
Syntax Usage
res := self->depthStencilTexture()
View_enableSetNeedsDisplay ¶
View_enableSetNeedsDisplay :: proc "c" ( self: ^View, ) -> bool {…}
Objective-C Method Information
- Class: View
- Name: enableSetNeedsDisplay
Syntax Usage
res := self->enableSetNeedsDisplay()
View_framebufferOnly ¶
View_framebufferOnly :: View_setFramebufferOnly
View_initWithCoder ¶
View_initWithCoder :: proc "c" ( self: ^View, coder: ^objc_Foundation.Coder, ) -> ^View {…}
Objective-C Method Information
- Class: View
- Name: initWithCoder
Syntax Usage
res := self->initWithCoder(coder)
View_initWithFrame ¶
View_initWithFrame :: View_setSampleCount
View_multisampleColorAttachmentTextureUsage ¶
View_multisampleColorAttachmentTextureUsage :: proc "c" ( self: ^View, ) -> objc_Metal.TextureUsage {…}
Objective-C Method Information
- Class: View
- Name: multisampleColorAttachmentTextureUsage
Syntax Usage
res := self->multisampleColorAttachmentTextureUsage()
View_preferredDevice ¶
View_preferredDevice :: View_framebufferOnly
View_preferredDrawableSize ¶
View_preferredDrawableSize :: proc "c" ( self: ^View, ) -> CoreFoundation.CGSize {…}
Objective-C Method Information
- Class: View
- Name: preferredDrawableSize
Syntax Usage
res := self->preferredDrawableSize()
View_releaseDrawables ¶
View_releaseDrawables :: proc "c" ( self: ^View, ) {…}
Objective-C Method Information
- Class: View
- Name: releaseDrawables
Syntax Usage
self->releaseDrawables()
View_sampleCount ¶
View_sampleCount :: View_multisampleColorTexture
View_sampleCount ¶
View_sampleCount :: proc "c" ( self: ^View, ) -> objc_Foundation.UInteger {…}
Objective-C Method Information
- Class: View
- Name: sampleCount
Syntax Usage
res := self->sampleCount()
View_sampleCount ¶
View_sampleCount :: View_colorSpace
View_setAutoresizeDrawable ¶
View_setAutoresizeDrawable :: proc "c" ( self: ^View, autoresizeDrawable: bool, ) {…}
Objective-C Method Information
- Class: View
- Name: setAutoresizeDrawable
Syntax Usage
self->setAutoresizeDrawable(autoresizeDrawable)
View_setClearColor ¶
View_setClearColor :: proc "c" ( self: ^View, clearColor: objc_Metal.ClearColor, ) {…}
Objective-C Method Information
- Class: View
- Name: setClearColor
Syntax Usage
self->setClearColor(clearColor)
View_setClearStencil ¶
View_setClearStencil :: View_preferredDevice
View_setClearStencil ¶
View_setClearStencil :: View_setDrawableSize
View_setClearStencil ¶
View_setClearStencil :: proc "c" ( self: ^View, clearStencil: u32, ) {…}
Objective-C Method Information
- Class: View
- Name: setClearStencil
Syntax Usage
self->setClearStencil(clearStencil)
View_setDelegate ¶
View_setDelegate :: View_drawableSize
View_setDepthStencilAttachmentTextureUsage ¶
View_setDepthStencilAttachmentTextureUsage :: proc "c" ( self: ^View, textureUsage: objc_Metal.TextureUsage, ) {…}
Objective-C Method Information
- Class: View
- Name: setDepthStencilAttachmentTextureUsage
Syntax Usage
self->setDepthStencilAttachmentTextureUsage(textureUsage)
View_setDepthStencilAttachmentTextureUsage ¶
View_setDepthStencilAttachmentTextureUsage :: View_colorPixelFormat
View_setDepthStencilAttachmentTextureUsage ¶
View_setDepthStencilAttachmentTextureUsage :: View_preferredFramesPerSecond
View_setDepthStencilPixelFormat ¶
View_setDepthStencilPixelFormat :: proc "c" ( self: ^View, colorPixelFormat: objc_Metal.PixelFormat, ) {…}
Objective-C Method Information
- Class: View
- Name: setDepthStencilPixelFormat
Syntax Usage
self->setDepthStencilPixelFormat(colorPixelFormat)
View_setDevice ¶
View_setDevice :: View_setPreferredFramesPerSecond
View_setDrawableSize ¶
View_setDrawableSize :: View_setClearDepth
View_setEnableSetNeedsDisplay ¶
View_setEnableSetNeedsDisplay :: proc "c" ( self: ^View, enableSetNeedsDisplay: bool, ) {…}
Objective-C Method Information
- Class: View
- Name: setEnableSetNeedsDisplay
Syntax Usage
self->setEnableSetNeedsDisplay(enableSetNeedsDisplay)
View_setFramebufferOnly ¶
View_setFramebufferOnly :: View_setColorPixelFormat
View_setMultisampleColorAttachmentTextureUsage ¶
View_setMultisampleColorAttachmentTextureUsage :: View_clearStencil
View_setMultisampleColorAttachmentTextureUsage ¶
View_setMultisampleColorAttachmentTextureUsage :: proc "c" ( self: ^View, textureUsage: objc_Metal.TextureUsage, ) {…}
Objective-C Method Information
- Class: View
- Name: setMultisampleColorAttachmentTextureUsage
Syntax Usage
self->setMultisampleColorAttachmentTextureUsage(textureUsage)
View_setPreferredFramesPerSecond ¶
View_setPreferredFramesPerSecond :: View_delegate
View_setPresentsWithTransaction ¶
View_setPresentsWithTransaction :: proc "c" ( self: ^View, presentsWithTransaction: bool, ) {…}
Objective-C Method Information
- Class: View
- Name: setPresentsWithTransaction
Syntax Usage
self->setPresentsWithTransaction(presentsWithTransaction)
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2026-03 (vendor "odin") Windows_amd64 @ 2026-03-16 21:30:59.031970800 +0000 UTC