Skip to content

Rename Unity interface traits to *Interface and align IUnityGraphicsD3D12 with C header#25

Merged
aosoft merged 4 commits into
masterfrom
taniuchi/rename-interface
May 6, 2026
Merged

Rename Unity interface traits to *Interface and align IUnityGraphicsD3D12 with C header#25
aosoft merged 4 commits into
masterfrom
taniuchi/rename-interface

Conversation

@aosoft
Copy link
Copy Markdown
Owner

@aosoft aosoft commented May 6, 2026

Summary

  • Reorganized IUnityGraphics* trait naming into the *Interface form, while also providing IUnity* aliases
  • Aligned UnityGraphicsD3D12Interface with the original C header (obsolete IUnityGraphicsD3D12): removed inheritance from UnityGraphicsD3D12v2Interface and defined its own methods directly (device / command_queue / frame_fence / next_frame_fence_value / resource_state / set_resource_state)
  • Updated imports and implementations across profiler / graphics / log / memory_manager / metal / vulkan modules and samples to follow the new naming

Test plan

  • cargo build --target x86_64-pc-windows-msvc (plugin / sample)
  • cargo build on macOS / Linux targets
  • Verify D3D12 trait usage in the sample still builds

aosoft added 4 commits May 6, 2026 10:51
…ity's C interface naming conventions; update imports, implementations, and README accordingly.
…erface naming; update imports, implementations, and README accordingly.
…imports, implementations, and sample usage accordingly.
…`UnityGraphicsD3D12Interface`; implement in `impl_d3d12!` macro
@aosoft aosoft merged commit aba9dc8 into master May 6, 2026
3 checks passed
@aosoft aosoft deleted the taniuchi/rename-interface branch May 6, 2026 06:33
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