Build Metal apps quicker and easier, using far less code. Load textures from many sources, render graphics in a standard Metal view, and work efficiently with models provided by Model I/O.
Language
- Swift
- Objective-C
SDKs
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
Overview
The MetalKit framework provides functions and classes that reduce the effort required to create a Metal application.
MetalKit Features
MetalKit provides functionality in three key areas:
Texture loading allows your application to easily load textures from a variety of sources. Textures can even be loaded asynchronously with just a few lines of code. For more information, see
MTKTextureLoader.Model handling provides Metal-specific functionality to easily interface with Model I/O assets. This collection of highly optimized functions and objects allows for efficient data transfer between Model I/O meshes and Metal buffers.
View management provides a standard implementation of a Metal view, with an optional drawing delegate, that drastically reduces the amount of code needed to create a graphics-rendering app. For more information, see
MTKViewandMTKViewDelegate.