GUI API for DirectX?

Is there any GUI API that can be used in conjunction with DirectX other than MFC, WIN32, Winforms, and WPF?

+2


source to share


3 answers


If you're doing your own DirectX rendering, you can use any Windows GUI technology that HWND provides.

Just use the "panel" equally likely in any tool you want, and feed its handle (HWND) to DirectX to initialize the device. This method is the same whether you are using MFC, Windows Forms, WPF, Qt, GTK, FLTK, or any other framework.



As long as you can get the handle to the window, you can. It's just simpler and potentially more flexible with some Microsoft toolkits. (For example, using D3DImage makes it seamless in WPF ...)

+2


source


Check out CEGUI . This is quite popular, especially for games. And it supports Direct3d and OpenGL.



+2


source


Take a look at XNA . Ultimately WPF or WinForms will be used to get the display surface - can't draw on Windows without a window, but you'll need an additional framework for rendering.

0


source







All Articles