开发者

How to place a DirectX object in a web page

开发者 https://www.devze.com 2023-03-07 08:27 出处:网络
How do I place a DirectX object inside a plugin area? I\'m using FireBreath. The plugin is supposed to work on Firefox, IE, Chrome.

How do I place a DirectX object inside a plugin area?

I'm using FireBreath. The plugin is supposed to work on Firefox, IE, Chrome.

开发者_开发百科

Thanks!

Sara


It's not possible to access the DirectX api in Windows from a webbrowser. You can use WebGL but that's not supported by all browsers yet.


No, it's not possible, without creating a browser-specific extension to display DirectX objects. DirectX is a closed technology owned by Microsoft and never likely to be implemented by open web standards due to lack of cross-platform compatibility and licensing issues.


I wrote a browser plugin for all browser using firebreath.

The framework provide a HWND to the plugin window which I used to draw the DirectX easily.

0

精彩评论

暂无评论...
验证码 换一张
取 消