Releases: aosoft/unity-native-plugin-rs
Releases · aosoft/unity-native-plugin-rs
v0.9.0
- Metal backend support (@ruccho)
- Vulkan support is now built into
unity-native-plugin(the separateunity-native-plugin-vulkancrate has been removed) - New D3D12 v8 interface and per-version traits (
UnityGraphicsD3D12v2Interface…v8Interface) reserve_event_id_rangeadded toIUnityGraphics, and GUID fix forIUnityGraphicsVulkanV2(@ruccho)- GitHub Actions CI for Windows / macOS / Linux
Breaking changes
unity-native-plugin-vulkancrate has been removed — useunity-native-pluginwithfeatures = ["vulkan"]. Imports also move fromunity_native_plugin_vulkan::vulkan::*tounity_native_plugin::vulkan::*.profiler_callbacksfeature has been merged intoprofiler(single feature now exposes bothIUnityProfilerandIUnityProfilerCallbacks).- Methods are now provided through traits, published under both a Rust-conventional
*Interfacename (e.g.UnityGraphicsD3D11Interface) and anIUnity*alias matching the C header. Bring the trait into scope withuseto call methods such asrenderer(),device(),emit_event(), etc. — without it, those methods will appear to be missing. ComPtrmoved fromd3d11/d3d12tounity_native_plugin::windows.- D3D11 typo fixes:
texture_from_natvie_texture→texture_from_native_texture,srv_from_natvie_texture→srv_from_native_texture. GfxRenderer::ReservedCFE→GfxRenderer::Nvn2.VulkanInstance::get_instance_proc_addrnow returnsOption<PFN_vkVoidFunction>(ash standard) instead of a sys-defined enum — match onOptioninstead of the previous customNonevariant.
v0.8.0
v0.7.0
v0.6.0
- Update Native Plugin SDK (Unity Ver.6000.0.10f1) (@ZhaoXiangXML)
- Add support new headers
- IUnityLog.h
- IUnityMemoryManager.h
- Update interface for D3D11
v0.5.1
v0.5.0
v0.4.1
- Add "unity-native-plugin-tester"
- For Cargo.toml dependencies publish to "https://github.com/aosoft/unity-native-plugin-tester"