-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
ImGUI::Image Problems with DirectX11 #1004
Comments
This is mostly a DX11 question, not an ImGui question. The only thing ImGui::Image() does it store your ImTextureId parameter and then emit vertices. If you can suggest a way to improve the DX11 example code to naturally cover most use cases, a patch is welcome. If you have build your own engine over DX11 you should probably change your use of ImTextureId to pass in higher level primitives that just a |
@ocornut |
I have now written a tutorial to cover image file loading for common graphics API: |
The ImGui::Image function can correctly show SRV created from file(
D3DX11GetImageInfoFromFileA
) .However .when I create a manual SRV. the **ImGui::Image ** show nothing.
But by the NSight, I found that the SRV is created successfully and filled expected color.
What is Wrong?
The text was updated successfully, but these errors were encountered: