Useful extensions for working with Apple Metal API in Swift 5.1.
Supported platforms: macOS 10.13+, iOS 11+.
All these extensions come from the needs that happened during the development of the ArtOverflow drawing app for macOS.
This package provides extensions for working more easily with MTLOrigin, MTLSize, MTLRegion, MTLTexture, MTLPixelFormat, Simd types and MTLComputeCommandEncoder.