Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan backend: remove RenderPass parameter, move to ImGui_ImplVulkan_InitInfo #7308

Closed
wants to merge 2 commits into from

Conversation

shawnhatori
Copy link
Contributor

This breaking change moves RenderPass into ImGui_ImplVulkan_InitInfo, removing the need for any other parameter to initialize the Vulkan backend. This makes for a slightly cleaner interface that behaves more consistently with the Vulkan API itself. It also removes any confusion for users of dynamic rendering, where a VkRenderPass would not be present.

With this change, RenderPass is clearly labeled as being ignored if dynamic rendering is enabled, and duplicate struct members can be removed from ImGui_ImplVulkan_Data.

This change has been tested and works as expected.

@shawnhatori shawnhatori changed the title remove RenderPass parameter, move to ImGui_ImplVulkan_InitInfo Vulkan backend: remove RenderPass parameter, move to ImGui_ImplVulkan_InitInfo Feb 12, 2024
ocornut pushed a commit that referenced this pull request Feb 14, 2024
…lVulkan_Init() function to ImGui_ImplVulkan_InitInfo structure. (#7308)
@ocornut
Copy link
Owner

ocornut commented Feb 14, 2024

Merged as f80e65a, thank you!

@ocornut ocornut closed this Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants