Skip to content

Conversation

@ruccho
Copy link
Contributor

@ruccho ruccho commented Nov 5, 2025

I've experimentally created bindings for Metal(IUnityGraphicsMetal.h).

I'd be happy if we could merge this, but some design issues exist:

  • bindgen generates bindings depending on objc for Objective-C headers but I've extracted only pure type definitions from the generated bindings because I would like to use objc2 instead, which is a successor of objc. This operation must be done by hand.

  • I've implemented high-level bindings on top of objc2 into unity_native_plugin::metal::objc2, which is a module conditionally enabled by the feature objc2_metal, but is it better to move them to an individual crate such as unity_native_plugin_metal like unity_native_plugin_vulkan?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant