Bindings for [[ MetalKit ; https://developer.apple.com/documentation/metalkit ]].

Collection Info

View Source
Collection
vendor
Path
darwin/MetalKit
Entries
50

Source Files

Types

3

Procedures

47

View_alloc #

Source
@(objc_type=View)
@(objc_name="alloc")
@(objc_is_class_method=true)
View_alloc :: proc "c" () -> ^View {…}

View_autoresizeDrawable #

Source
@(objc_type=View)
@(objc_name="autoresizeDrawable")
View_autoresizeDrawable :: proc "c" (self: ^View) -> bool {…}

View_clearDepth #

Source
@(objc_type=View)
@(objc_name="clearDepth")
View_clearDepth :: proc "c" (self: ^View) -> f64 {…}

View_clearStencil #

Source
@(objc_type=View)
@(objc_name="clearStencil")
View_clearStencil :: proc "c" (self: ^View) -> u32 {…}

View_colorPixelFormat #

Source
@(objc_type=View)
@(objc_name="colorPixelFormat")
View_colorPixelFormat :: proc "c" (self: ^View) -> PixelFormat {…}

View_currentRenderPassDescriptor #

Source
@(objc_type=View)
@(objc_name="currentRenderPassDescriptor")
View_currentRenderPassDescriptor :: proc "c" (self: ^View) -> ^RenderPassDescriptor {…}

View_depthStencilAttachmentTextureUsage #

Source
@(objc_type=View)
@(objc_name="depthStencilAttachmentTextureUsage")
View_depthStencilAttachmentTextureUsage :: proc "c" (self: ^View) -> TextureUsage {…}

View_depthStencilPixelFormat #

Source
@(objc_type=View)
@(objc_name="depthStencilPixelFormat")
View_depthStencilPixelFormat :: proc "c" (self: ^View) -> PixelFormat {…}

View_depthStencilTexture #

Source
@(objc_type=View)
@(objc_name="depthStencilTexture")
View_depthStencilTexture :: proc "c" (self: ^View) -> ^Texture {…}

View_draw #

Source
@(objc_type=View)
@(objc_name="draw")
View_draw :: proc "c" (self: ^View) {…}

View_drawableSize #

Source
@(objc_type=View)
@(objc_name="drawableSize")
View_drawableSize :: proc "c" (self: ^View) -> CGSize {…}

View_enableSetNeedsDisplay #

Source
@(objc_type=View)
@(objc_name="enableSetNeedsDisplay")
View_enableSetNeedsDisplay :: proc "c" (self: ^View) -> bool {…}

View_framebufferOnly #

Source
@(objc_type=View)
@(objc_name="framebufferOnly")
View_framebufferOnly :: proc "c" (self: ^View) -> bool {…}

View_initWithCoder #

Source
@(objc_type=View)
@(objc_name="initWithCoder")
View_initWithCoder :: proc "c" (self: ^View, coder: ^Coder) -> ^View {…}

View_isPaused #

Source
@(objc_type=View)
@(objc_name="isPaused")
View_isPaused :: proc "c" (self: ^View) -> bool {…}

View_multisampleColorAttachmentTextureUsage #

Source
@(objc_type=View)
@(objc_name="multisampleColorAttachmentTextureUsage")
View_multisampleColorAttachmentTextureUsage :: proc "c" (self: ^View) -> TextureUsage {…}

View_multisampleColorTexture #

Source
@(objc_type=View)
@(objc_name="multisampleColorTexture")
View_multisampleColorTexture :: proc "c" (self: ^View) -> ^Texture {…}

View_preferredDevice #

Source
@(objc_type=View)
@(objc_name="preferredDevice")
View_preferredDevice :: proc "c" (self: ^View) -> ^Device {…}

View_preferredDrawableSize #

Source
@(objc_type=View)
@(objc_name="preferredDrawableSize")
View_preferredDrawableSize :: proc "c" (self: ^View) -> CGSize {…}

View_preferredFramesPerSecond #

Source
@(objc_type=View)
@(objc_name="preferredFramesPerSecond")
View_preferredFramesPerSecond :: proc "c" (self: ^View) -> Integer {…}

View_presentsWithTransaction #

Source
@(objc_type=View)
@(objc_name="presentsWithTransaction")
View_presentsWithTransaction :: proc "c" (self: ^View) -> bool {…}

View_releaseDrawables #

Source
@(objc_type=View)
@(objc_name="releaseDrawables")
View_releaseDrawables :: proc "c" (self: ^View) {…}

View_sampleCount #

Source
@(objc_type=View)
@(objc_name="sampleCount")
View_sampleCount :: proc "c" (self: ^View) -> UInteger {…}

View_setAutoresizeDrawable #

Source
@(objc_type=View)
@(objc_name="setAutoresizeDrawable")
View_setAutoresizeDrawable :: proc "c" (self: ^View, autoresizeDrawable: bool) {…}

View_setClearColor #

Source
@(objc_type=View)
@(objc_name="setClearColor")
View_setClearColor :: proc "c" (self: ^View, clearColor: ClearColor) {…}

View_setClearDepth #

Source
@(objc_type=View)
@(objc_name="setClearDepth")
View_setClearDepth :: proc "c" (self: ^View, clearDepth: f64) {…}

View_setClearStencil #

Source
@(objc_type=View)
@(objc_name="setClearStencil")
View_setClearStencil :: proc "c" (self: ^View, clearStencil: u32) {…}

View_setColorPixelFormat #

Source
@(objc_type=View)
@(objc_name="setColorPixelFormat")
View_setColorPixelFormat :: proc "c" (self: ^View, colorPixelFormat: PixelFormat) {…}

View_setDepthStencilAttachmentTextureUsage #

Source
@(objc_type=View)
@(objc_name="setDepthStencilAttachmentTextureUsage")
View_setDepthStencilAttachmentTextureUsage :: proc "c" (self: ^View, textureUsage: TextureUsage) {…}

View_setDepthStencilPixelFormat #

Source
@(objc_type=View)
@(objc_name="setDepthStencilPixelFormat")
View_setDepthStencilPixelFormat :: proc "c" (self: ^View, colorPixelFormat: PixelFormat) {…}

View_setDevice #

Source
@(objc_type=View)
@(objc_name="setDevice")
View_setDevice :: proc "c" (self: ^View, device: ^Device) {…}

View_setDrawableSize #

Source
@(objc_type=View)
@(objc_name="setDrawableSize")
View_setDrawableSize :: proc "c" (self: ^View, drawableSize: CGSize) {…}

View_setEnableSetNeedsDisplay #

Source
@(objc_type=View)
@(objc_name="setEnableSetNeedsDisplay")
View_setEnableSetNeedsDisplay :: proc "c" (self: ^View, enableSetNeedsDisplay: bool) {…}

View_setFramebufferOnly #

Source
@(objc_type=View)
@(objc_name="setFramebufferOnly")
View_setFramebufferOnly :: proc "c" (self: ^View, framebufferOnly: bool) {…}

View_setMultisampleColorAttachmentTextureUsage #

Source
@(objc_type=View)
@(objc_name="setMultisampleColorAttachmentTextureUsage")
View_setMultisampleColorAttachmentTextureUsage :: proc "c" (self: ^View, textureUsage: TextureUsage) {…}

View_setPaused #

Source
@(objc_type=View)
@(objc_name="setPaused")
View_setPaused :: proc "c" (self: ^View, isPaused: bool) {…}

View_setPreferredFramesPerSecond #

Source
@(objc_type=View)
@(objc_name="setPreferredFramesPerSecond")
View_setPreferredFramesPerSecond :: proc "c" (self: ^View, preferredFramesPerSecond: Integer) {…}

View_setPresentsWithTransaction #

Source
@(objc_type=View)
@(objc_name="setPresentsWithTransaction")
View_setPresentsWithTransaction :: proc "c" (self: ^View, presentsWithTransaction: bool) {…}

View_setSampleCount #

Source
@(objc_type=View)
@(objc_name="setSampleCount")
View_setSampleCount :: proc "c" (self: ^View, sampleCount: UInteger) {…}