#metal #objective-c #api-bindings #render-pipeline #pixel-format

nightly no-std objrs_frameworks_metal

Apple 的 Metal 框架的绑定

2 个版本

使用旧的 Rust 2015

0.0.2 2018 年 12 月 2 日
0.0.1 2018 年 8 月 23 日

#161 in macOS 和 iOS API


用于 2 crate

Apache-2.0 OR MIT OR MPL-2.0

140KB
2.5K SLoC

objrs_frameworks_metal

objrs_frameworks_metal crate 为 Apple 的 Metal 框架提供绑定。此 crate 还未完成,但已对以下 Metal 类型提供了一些部分绑定:

  • MTLBlitCommandEncoder.
  • MTLBuffer.
  • MTLCommandBuffer.
  • MTLCommandEncoder.
  • MTLCompileOptions.
  • MTLDevice.
  • MTLDrawable.
  • MTLLibrary.
  • MTLPixelFormat.
  • MTLRenderCommandEncoder.
  • MTLRenderPass.
  • MTLRenderPipeline.

许可证

请参阅 COPYRIGHT 文件。objrs 在 Apache License 2.0、MIT License 和 Mozilla Public License 2.0 条款下进行三重许可。

依赖项

~2MB
~48K SLoC