Graphics and Games · IOS API REFERENCEMetalKit
Build Metal apps quicker and easier using a common set of utility classes.
14 types
113 callable entries
6 skipped
95% entry coverage
Generated from iOS SDK 27.1. Availability is shown on each declaration; permissions and entitlements still apply.
Types
Functions and constants
function · iOS 9.0+MTKMetalVertexDescriptorFromModelIO
TypeScriptMTKMetalVertexDescriptorFromModelIO(modelIODescriptor: _ModelIO_MDLVertexDescriptor): (_Metal_MTLVertexDescriptor) | null
Swift declarationfunc MTKMetalVertexDescriptorFromModelIO(_ modelIODescriptor: MDLVertexDescriptor) -> MTLVertexDescriptor?
function · iOS 9.0+MTKMetalVertexFormatFromModelIO
TypeScriptMTKMetalVertexFormatFromModelIO(vertexFormat: _ModelIO_MDLVertexFormat): _Metal_MTLVertexFormat
Swift declarationfunc MTKMetalVertexFormatFromModelIO(_ vertexFormat: MDLVertexFormat) -> MTLVertexFormat
function · iOS 9.0+MTKModelIOVertexDescriptorFromMetal
TypeScriptMTKModelIOVertexDescriptorFromMetal(metalDescriptor: _Metal_MTLVertexDescriptor): _ModelIO_MDLVertexDescriptor
Swift declarationfunc MTKModelIOVertexDescriptorFromMetal(_ metalDescriptor: MTLVertexDescriptor) -> MDLVertexDescriptor
function · iOS 9.0+MTKModelIOVertexFormatFromMetal
TypeScriptMTKModelIOVertexFormatFromMetal(vertexFormat: _Metal_MTLVertexFormat): _ModelIO_MDLVertexFormat
Swift declarationfunc MTKModelIOVertexFormatFromMetal(_ vertexFormat: MTLVertexFormat) -> MDLVertexFormat
function · iOS 10.0+MTKModelIOVertexDescriptorFromMetalWithError
TypeScriptMTKModelIOVertexDescriptorFromMetalWithError(metalDescriptor: _Metal_MTLVertexDescriptor): _ModelIO_MDLVertexDescriptor
Swift declarationfunc MTKModelIOVertexDescriptorFromMetalWithError(_ metalDescriptor: MTLVertexDescriptor) throws -> MDLVertexDescriptor
function · iOS 10.0+MTKMetalVertexDescriptorFromModelIOWithError
TypeScriptMTKMetalVertexDescriptorFromModelIOWithError(modelIODescriptor: _ModelIO_MDLVertexDescriptor): (_Metal_MTLVertexDescriptor) | null
Swift declarationfunc MTKMetalVertexDescriptorFromModelIOWithError(_ modelIODescriptor: MDLVertexDescriptor) throws -> MTLVertexDescriptor?
Skipped declarations
6 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTKView.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
MTKTextureLoader.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
MTKMesh.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
MTKMeshBuffer.init()
inherited init: clang: 'init' is unavailable
MTKMeshBufferAllocator.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
MTKSubmesh.init()
inherited init: clang: 'init' is unavailable