package vendor:darwin/MetalKit

⌘K
Ctrl+K
or
/

    Types

    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_alloc ¶

    View_alloc :: proc "c" () -> ^View {…}
    Objective-C Method Information
    • Class: View
    • Name: alloc
    • Kind: Class Method
    Syntax Usage
    res := View.alloc()
    

    View_autoresizeDrawable ¶

    View_autoresizeDrawable :: proc "c" (
    	self: ^View, 
    ) -> bool {…}
    Objective-C Method Information
    • Class: View
    • Name: autoresizeDrawable
    Syntax Usage
    res := self->autoresizeDrawable()
    

    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_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_device ¶

    View_device :: proc "c" (
    	self: ^View, 
    ) -> ^objc_Metal.Device {…}
    Objective-C Method Information
    • Class: View
    • Name: device
    Syntax Usage
    res := self->device()
    

    View_draw ¶

    View_draw :: proc "c" (
    	self: ^View, 
    ) {…}
    Objective-C Method Information
    • Class: View
    • Name: draw
    Syntax Usage
    self->draw()
    

    View_enableSetNeedsDisplay ¶

    View_enableSetNeedsDisplay :: proc "c" (
    	self: ^View, 
    ) -> bool {…}
    Objective-C Method Information
    • Class: View
    • Name: enableSetNeedsDisplay
    Syntax Usage
    res := self->enableSetNeedsDisplay()
    

    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 :: proc "c" (
    	self:   ^View, 
    	frame:  CoreFoundation.CGRect, 
    	device: ^objc_Metal.Device, 
    ) -> ^View {…}
    Objective-C Method Information
    • Class: View
    • Name: initWithFrame
    Syntax Usage
    res := self->initWithFrame(
    	frame,
    	device,
    )
    

    View_isPaused ¶

    View_isPaused :: proc "c" (
    	self: ^View, 
    ) -> bool {…}
    Objective-C Method Information
    • Class: View
    • Name: isPaused
    Syntax Usage
    res := self->isPaused()
    

    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_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 :: proc "c" (
    	self: ^View, 
    ) -> objc_Foundation.UInteger {…}
    Objective-C Method Information
    • Class: View
    • Name: sampleCount
    Syntax Usage
    res := self->sampleCount()
    

    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 :: proc "c" (
    	self:         ^View, 
    	clearStencil: u32, 
    ) {…}
    Objective-C Method Information
    • Class: View
    • Name: setClearStencil
    Syntax Usage
    self->setClearStencil(clearStencil)
    

    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_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 :: proc "c" (
    	self:   ^View, 
    	device: ^objc_Metal.Device, 
    ) {…}
    Objective-C Method Information
    • Class: View
    • Name: setDevice
    Syntax Usage
    self->setDevice(device)
    

    View_setEnableSetNeedsDisplay ¶

    View_setEnableSetNeedsDisplay :: proc "c" (
    	self:                  ^View, 
    	enableSetNeedsDisplay: bool, 
    ) {…}
    Objective-C Method Information
    • Class: View
    • Name: setEnableSetNeedsDisplay
    Syntax Usage
    self->setEnableSetNeedsDisplay(enableSetNeedsDisplay)
    

    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_setPaused ¶

    View_setPaused :: proc "c" (
    	self:     ^View, 
    	isPaused: bool, 
    ) {…}
    Objective-C Method Information
    • Class: View
    • Name: setPaused
    Syntax Usage
    self->setPaused(isPaused)
    

    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