0

我试图弄清楚 Windows Embedded Compact 2013 或 7 是否允许我在我的 XAML UI 中拥有一个 OpenGL ES 视图。对于这两者,我可以获得很多关于系统如何使用 OpenGL 来运行实际的 XAML 引擎以提高性能的信息,但我似乎无法弄清楚是否可以嵌入 OpenGL 视图。有什么见解吗?

4

1 回答 1

0

Yes this is possible, The easiest way to do it is to host a winForms control in the XAML and use the window handle of that control to create the OpenGL ES surface.

The hard way is to use Platform Builder to edit the XAMLRendererPlugin and expose the context, surface and display as well as changing the way it renders to use bound buffers and add extra calls to glUseProgram. Although the advantage of this method is that you can now render directly to the XAML surface on SWE

于 2015-01-28T09:30:29.143 回答